json-api-client
json-api-client copied to clipboard
:construction_worker_woman: A PHP Library to handle the request or response body from a JSON API server.
As stated in the spec a client-generated ID along with a request to create a rescource MUST SHOULD be an UUID. Source: http://jsonapi.org/format/1.0/#crud-creating-client-ids > Client-Generated IDs > > A server...
[PHP 7.4 has reached eol at 28.11.2022](https://www.php.net/eol.php) and [PHP 8.0 has reached eol at 26.11.2023](https://www.php.net/eol.php). Also [more than 94% of the downloads for version 1.x are using PHP 8.1+](https://packagist.org/packages/art4/json-api-client/php-stats#1). So...
There should be a way to access the related ("included") resources directly from the fetched ("data") resources,
[JSON:API v1.1](https://jsonapi.org/format/1.1/) was finalized September 30, 2022! ### TODO - [ ] New `lid` property in Resource Objects https://jsonapi.org/format/1.1/#document-resource-objects - [ ] New `lid` property in Resource Identifier Objects https://jsonapi.org/format/1.1/#document-resource-identifier-objects...
Closes #90. ### TODO - [x] Allow new `lid` property in Resource Objects https://jsonapi.org/format/1.1/#document-resource-objects - [x] Allow new `lid` property in Resource Identifier Objects https://jsonapi.org/format/1.1/#document-resource-identifier-objects - [x] Allow new `ext`...