huntie / laravel-simple-jsonapi
JSON API support for Laravel
1.0.0-alpha.7
2017-09-22 08:48 UTC
Requires
- php: >=7.0.0
- illuminate/contracts: >=5.4.0
- illuminate/database: >=5.4.0
- illuminate/http: >=5.4.0
- illuminate/pagination: >=5.4.0
- illuminate/routing: >=5.4.0
- illuminate/support: >=5.4.0
- illuminate/validation: >=5.4.0
Requires (Dev)
- doctrine/dbal: ^2.5.0
- fzaninotto/faker: ^1.6.0
- orchestra/testbench: ^3.0.0
- phpunit/phpunit: ^5.0.0
This package is not auto-updated.
Last update: 2026-06-07 04:18:26 UTC
README
laravel-simple-jsonapi
An implementation of the JSON API specification for Laravel, allowing developers to add fully-functional JSON API endpoints to their project with minimal configuration.
This is the 1.0.0-alpha branch – the upcoming major release and documentation are currently in progress.
Features
- Simple API route resource definitions
- A base controller providing full JSON API resource endpoints
- Effortless transformation of Eloquent models and relationships to JSON API documents
- Formatting of error and request validation responses
- Configurable options for includable relationships, pagination and more
- Test assertion helpers
Installation
$ composer require huntie/laravel-simple-jsonapi
See further installation and configuration details in the wiki.
Documentation
All usage information can be found in the wiki.
Contributing
If you discover a problem or have a feature request, please create an issue or feel free to fork this repository and make improvements.
