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.
- 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
$ composer require huntie/laravel-simple-jsonapi
See further installation and configuration details in the wiki.
All usage information can be found in the wiki.
If you discover a problem or have a feature request, please create an issue or feel free to fork this repository and make improvements.