laravel-responder
laravel-responder copied to clipboard
A Laravel Fractal package for building API responses, giving you the power of Fractal with Laravel's elegancy.
Hello, Could you please add support of the new Fractal version - 0.20.0
`{ "status": 200, "success": true, "message": "Logged out successfully!", "data": null }` Is there any way to include a message to success respond like the above?
Hi @flugg , I have setup my models with getResourcKey() for both models: NelitiVolume.php ``` . . . public function getResourceKey(): string { return 'neliti-volumes'; } . . . ```...
Hi @flugg , I would like to use the transforming camel case - snake case feature in lumen; but I get error something like this:  How do I achieve...
error
Your requirements could not be resolved to an installable set of packages. Problem 1 - flugger/laravel-responder[v3.1.0, ..., v3.1.1] require illuminate/contracts 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* ||...
When using the ConvertToSnakeCase middleware there is an undefined function error when using snake_case(). I believe this has now been updated by Laravel to use Illuminate\Support\Str::snake() instead.
Hey there, thanks for this awesome package. This particular issue has been mentioned and fixed previously in #106. I've got this: ``` class VariationTransformer extends Transformer { protected $load =...
Php has been upgraded to version 8.0 today, update php version in composer.json
Can't load specific columns, instead it loads all the relationship columns. ``` $books = App\Models\Book::with('author:id,name')->get(); ```
Hello, I face a problem while using eager loading using transformers, the problem that the package load the relation ship if it is already loaded, so I suggest that $data->loadMissing($relations);...