v2.1.0: extensions, arrays of links, @-members (supporting specification v1.1)
Support for v1.1 of the JSON:API specification, including:
Extensions via profiles
Extending a document structure with profiles. See an example profile and a specific cursor pagination example:
$profile = new CursorPaginationProfile();
$document->applyProfile($profile);
Array of links under a single key
E.g. for type
error links:
$errorObject->appendTypeLink('https://...');
@-members
Which can be used for JSON-LD for example. They can be added to any object:
$anything->addAtMember('foo', 'bar');