rocketman / json-api-common
Basic php implementation (shared structures for client and server) of the json api specification (jsonapi.org)
Installs: 449
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 13
pkg:composer/rocketman/json-api-common
Requires
- php: >=7.2
 - psr/http-message: ^1.0
 
Requires (Dev)
- guzzlehttp/psr7: ^1.4
 - phpunit/phpunit: ^7.0
 
This package is auto-updated.
Last update: 2025-10-22 12:22:51 UTC
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.