rocketman / json-api-common
Basic php implementation (shared structures for client and server) of the json api specification (jsonapi.org)
v3.2.2+rocketman.1
2025-06-04 17:55 UTC
Requires
- php: >=7.2
- psr/http-message: ^1.0
Requires (Dev)
- guzzlehttp/psr7: ^1.4
- phpunit/phpunit: ^7.0
README
This is a fork of the upstream
enm/json-api-common
with post-release fixes.
It contains code shared by the JSON-API-Server and JSON-API-Client projects.
Installation
Generally, you will establish a composer dependency on json-api-server or json-api-client as appropriate, and they will in turn pull in this library. If you wish to include this library explicitly, you can do so like this:
composer require rocketman/json-api-common
Documentation
- JsonApiTrait
- Resources
- Attributes and Meta-Informations
- Links
- Documents
- Exceptions and Errors
- Request and Response
Changelog
See the Changelog.