slick / json-api
JSON:API specification library, providing content negotiation, error handling and pagination, as well as fetching, creation, updating and deleting resources
Requires
- php: >=8.1
- ext-json: *
- doctrine/collections: ^1.6|^2.1|^3.0
- psr/http-message: ^1.0|^2.0
- psr/http-server-middleware: >=1.0.0
- slick/configuration: >=v2.1.0
- slick/error-handler: ^0.4.0@dev
- slick/module-api: >=v0.4.0
Requires (Dev)
- phpspec/phpspec: ^7
- slick/http: ^3.1@dev
- squizlabs/php_codesniffer: 4.0.x-dev
- dev-develop / 1.x-dev
- dev-master / 1.4.x-dev
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.3
- v1.2.2
- v1.2.1
- 1.2.0
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- V1.0.1
- v1.0.0
- v0.11.2
- v0.11.1
- v0.11.0
- v0.10.4
- v0.10.3
- v0.10.2
- v0.10.1
- v0.10.0
- v0.9.0
- 0.8.0
- v0.7.4
- v0.7.3
- v0.7.2
- v0.7.1
- v0.7.0
- v0.6.3
- v0.6.2
- v0.6.1
- v0.6.0
- v0.5.0
- v0.4.0
- v0.3.0
- v0.2.1
- v0.1.0
This package is auto-updated.
Last update: 2024-12-07 12:44:03 UTC
README
The slick/json-api
library implements the JSON:API 1.1 specification and a
Slick module.
It supports a wide range of features, including content negotiation, error handling,
pagination, and resource operations like fetching, creating, updating, and deleting.
This package is compliant with PSR-2 code standards and PSR-4 autoload standards. It also applies the semantic version 2.0.0 specification.
Install
To integrate slick/json-api
into your application, install it via Composer.
composer require slick/json-api
Usage
Please check documentation site for a complete reference.
Testing
We use PHPSpec for unit testing.
# unit tests
$ vendor/bin/phpspec
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email slick.framework@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.