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
- dev-1.0.0-alpha
- 1.0.0-alpha.7
- 1.0.0-alpha.6
- 1.0.0-alpha.5
- 1.0.0-alpha.4
- 1.0.0-alpha.3
- 1.0.0-alpha.2
- 1.0.0-alpha
- 0.3.1
- 0.3.0
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.12
- 0.1.11
- 0.1.10
- 0.1.9
- 0.1.8
- 0.1.7
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-testing
- dev-nested-includes
- dev-develop
- dev-request-validation
This package is not auto-updated.
Last update: 2024-12-07 20:17:24 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.