laravel
laravel copied to clipboard
JSON:API for Laravel applications
Laravel: 9 laravel-json-api: 2.4 I have implemented some API endpoints to my app that also has web routes. The problem occurs when visiting non-existing web routes: instead of getting the...
The question boils down to this: How do i create a write-only field? Right now I have a field `catachall` that should be write-only for a super user. But that...
Is there (or Will there) be any tutorial for upgrading ? Thank
Hello! My team started using this package for a mobile application and it is very nice (thank you). One feature that would be really nice would be to make it...
How to move `count` variables from `relationships.*.meta.count` to `data.*.attributes`?
As mentioned in #194 Laravel Eloquent resources support filtering out values if the value is the `MissingValue` class. We need to add support for this in attributes and relationships for...
Hi, I need to limit in query in relationship called through "Eager Loading". `/api/v1/posts/1?include=comments` ```php BelongsToMany::make('comments')->relationLoad( static fn($query) => $query->limit(5) ); ``` Is possible?
Hi, it would be nice if there was a way to add a global scope to a schema model. I've scraped through the issues and found only one proposed way:...
When fixing #184 I've realised there's no checking of the `Accept` media type in the _destroy_ controller action. The JSON:API specification shows that a `DELETE` request should have an `Accept:...
Hello, I have more a question about structure. I have a API with a token (bearer) authentication. I used for this Sanctum. My question is : What is the best...