dogado/json-api-common

Common interfaces and classes which represent the JSON:API protocol in order to build a client or server application.

v3.0.1 2022-06-28 09:53 UTC

This package is auto-updated.

Last update: 2024-04-17 14:07:39 UTC


README

phpunit Coverage Status Total Downloads Latest Stable Version Latest Unstable Version License

This library contains php classes and interfaces shared between dogado/json-api-server and dogado/json-api-client.

Installation

composer require dogado/json-api-common

Documentation

  1. JsonApiTrait
  2. Resources
    1. Relationships
  3. Attributes and Meta-Informations
  4. Links
  5. Documents
  6. Exceptions and Errors
  7. Request and Response
  8. Model conversion

Credits

This package contains code taken from enm/json-api-common.

License

The MIT License (MIT). Please see License File for more information.