JSON-API responses in PHP. Works with version 1.0 of the spec. The JSON-API spec describes resource objects as objects containing information about a single resource, and collection objects as objects containing information about many resources.

Features

  • Works with version 1.0 of the spec
  • Install via Composer
  • A JSON-API Document may contain one primary Element
  • You can specify which fields (attributes and relationships) are to be included on an Element
  • A Serializer is responsible for building attributes and relationships for a certain resource type
  • This code is published under the The MIT License

Project Samples

Project Activity

See All Activity >