Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/json-api-php/json-api

Implementation of JSON API in PHP
https://github.com/json-api-php/json-api

hacktoberfest json json-api jsonapi library php php7 psr

Last synced: 3 months ago
JSON representation

Implementation of JSON API in PHP

Lists

README

        

# [JSON API](http://jsonapi.org) spec implemented in PHP 7. Immutable

The goal of this library is to ensure strict validity of JSON API documents being produced.

JSON:
```json
{
"data": {
"type": "articles",
"id": "1",
"attributes": {
"title": "Rails is Omakase"
},
"relationships": {
"author": {
"data": {
"type": "people",
"id": "9"
},
"links": {
"self": "/articles/1/relationships/author",
"related": "/articles/1/author"
}
}
}
}
}
```
PHP:
```php