onion / rest
There is no license information available for the latest version (2.0.0) of this package.
2.0.0
2018-04-29 22:07 UTC
Requires
- php: ^7.2
- fig/link-util: ^1.0
- guzzlehttp/psr7: ^1.4
- onion/interfaces: ^2.0.0-rc3
- roave/security-advisories: dev-master
Requires (Dev)
- justinrainbow/json-schema: ^1.2
- phpunit/phpunit: ^5.7
This package is auto-updated.
Last update: 2024-11-11 12:46:09 UTC
README
RESTful additions for onion/framework
As of now this package provides support for:
application/json
: returns all data from the entity to the client as ajson_encode
d valueapplication/hal+json
: "Big" HAL response with automatically replacing link placeholders with the items available as data for the object.application/api+json
: The foundation for JSON-API responsesapplication/ld+json
: (Needs testing) A minimal JSON-LD capable serialization.
ToDo:
- Write more tests
JSONAPI TransformationInvestigate JSON-LD