Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: 4 days ago
JSON representation

Implementation of JSON API in PHP

Awesome Lists containing this project

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