laravel-resource Questions
3
Solved
I'm using Laravel API Resource and want to convert all parts of my instance to an array.
In my PreorderResource.php:
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Re...
Fug asked 27/9, 2018 at 14:24
3
Solved
I am using API Resources for laravel to transform resource to array for an API call,and its working fine,Is is possible that i can retrieve data of multiple models in one call ? As to get JSON data...
Medor asked 22/11, 2018 at 9:58
2
Solved
I am little bit confused about the difference between Laravel eloquent resource and transformers. When i should use resource and when i should use transformers. Did some research on it from laravel...
Herby asked 18/9, 2018 at 4:1
1
© 2022 - 2024 — McMap. All rights reserved.