php-hal
php-hal copied to clipboard
HAL+JSON & HAL+XML API transformer outputting valid (PSR-7) API Responses.
Hi Nil, I modified `JsonTransformer` to hide properties in embedded objects according to the mapping. I'd expect that to be the default behavior, but I couldn't configure the mapper to...
According with https://tools.ietf.org/html/draft-kelly-json-hal-08#page-6 json has key for field with collection in embedded. Like this: ``` "_embedded": { "orders": [ // objects list ``` How I can set this key with...
It would be nice to have the psr-7 reponses in a separate repo, in case someone want to use them without the rest.
- PHP 7.0 only - Remove all HTTP references. Ditch PSR7. Keep it only a transformer.