laravel icon indicating copy to clipboard operation
laravel copied to clipboard

JSON:API for Laravel applications

Results 83 laravel issues
Sort by recently updated
recently updated
newest added

Hi. I'm considering using json:api in next API project, but I have serious performance concerns. Let's say I want to get titles of articles in DB. Thanks for sparse fields...

enhancement

Please add a way to return a specified number of results without pagination, i.e. set a `limit` in the SQL query without performing a count query or returning paging information....

**Version: v1.0.0** **Bug description:** I have a recursive (tree) hierarchy of categories. So I have "Category" model and associated "categories" JSON:API resource. The database structure is very simple. I have...

This has come from a discussion on Slack... At the moment our pagination implementation always applies a sort by primary key - so that pages are in a deterministic order....

enhancement

Hi @lindyhopchris, love the package you created. I am confused about an aspect about Polymorphic To-Many relationships because of the following problem: I have the following schema: ```php class GeolevelableSchema...

Hello, first of all, great library, very useful, thank you for creating this wonderful library. I have created a custom controller which consists of one action. I want to update...

For some of our models we employ global scopes through the models `boot()` method. It is convenient, because those constrains do not need to repeated all over the application. Many...

Hi, I have schema (patients resource) like this: ``` public function fields(): array { return [ ... HasMany::make('documents')->readOnly(), HasOne::make('activated-declaration-document')->type('documents')->readOnly(), HasOne::make('primary-declaration-document')->type('documents')->readOnly(), ]; } ``` `documents` resource also have `data` morph to...

Hi, It is possible to create something like Queries-One or Queries-Many relation like in first version of library? https://laravel-json-api.readthedocs.io/en/latest/basics/adapters/

Cursor pagination has been added to Laravel core via: https://github.com/laravel/framework/pull/37216 And Eloquent API Resources have been updated via: https://github.com/laravel/framework/pull/37315 [This is documented here.](https://laravel.com/docs/8.x/pagination#cursor-pagination) Before 1.0.0-stable we should: - [x] Move...

enhancement