json-api-common

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

MIT License

Downloads
6.7K
Stars
1
Committers
3

Common interfaces and classes which represent the JSON:API protocol

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.