slick/json-api

JSON:API specification library, providing content negotiation, error handling and pagination, as well as fetching, creation, updating and deleting resources

v1.4.2 2024-10-07 12:19 UTC

README

Latest Version Software License Build Status Total Downloads

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.