skore-labs / laravel-json-api
This package is abandoned and no longer maintained.
No replacement package was suggested.
Integrate JSON:API resources on Laravel
3.2.8
2022-08-26 10:42 UTC
Requires
- php: ^7.2|^8.0|^8.1
- illuminate/http: ^6.0|^8.0|^9.0
- illuminate/support: ^6.0|^8.0|^9.0
Requires (Dev)
- ext-json: *
- nunomaduro/larastan: ^1.0
- orchestra/testbench: ^4.0|^6.0|^7.0
- phpstan/phpstan: ^1.0
- phpunit/phpunit: ^7.0|^9.0
Suggests
- hammerstone/fast-paginate: Improves jsonPaginate method performance (SQL database query pagination)
- skorelabs/laravel-query-builder: Allows to include data on your API responses following the JSON:API
README
THIS PACKAGE IS GONNA BE DEPRECATED IN FAVOUR OF THIS ONE: https://github.com/open-southeners/laravel-apiable
Laravel JSON:API
Integrate JSON:API resources on Laravel.
Features
- Compatible and tested with all the Laravel LTS supported versions (see them here)
- Full formatting using pure built-in model methods and properties.
- Relationships and nested working with eager loading.
- Permissions "out-of-the-box" authorising each resource view or list of resources.
- Auto-hide not allowed attributes from responses like
user_id
orpost_id
. - Own testing utilities built-in Laravel's ones to make integration tests easier.
Documentation
Credits
- Ruben Robles (@d8vjork)
- Skore (https://www.getskore.com/)
- And all the contributors