Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dogado-group/json-api-common
Common php interfaces and classes which represent the JSON:API protocol in order to build a client or server application.
https://github.com/dogado-group/json-api-common
client dogado json json-api php php74 php8 server
Last synced: 8 days ago
JSON representation
Common php interfaces and classes which represent the JSON:API protocol in order to build a client or server application.
- Host: GitHub
- URL: https://github.com/dogado-group/json-api-common
- Owner: dogado-group
- License: mit
- Created: 2021-05-21T09:30:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-17T10:56:27.000Z (about 2 years ago)
- Last Synced: 2024-12-15T19:02:43.837Z (12 days ago)
- Topics: client, dogado, json, json-api, php, php74, php8, server
- Language: PHP
- Homepage: https://www.dogado.de
- Size: 92.8 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# Common interfaces and classes which represent the JSON:API protocol
[![phpunit](https://github.com/dogado-group/json-api-common/actions/workflows/phpunit.yml/badge.svg)](https://github.com/dogado-group/json-api-common/actions/workflows/phpunit.yml)
[![Coverage Status](https://coveralls.io/repos/github/dogado-group/json-api-common/badge.svg?branch=main)](https://coveralls.io/github/dogado-group/json-api-common?branch=main)
[![Total Downloads](https://poser.pugx.org/dogado/json-api-common/downloads)](https://packagist.org/packages/dogado/json-api-common)
[![Latest Stable Version](https://poser.pugx.org/dogado/json-api-common/v/stable)](https://packagist.org/packages/dogado/json-api-common)
[![Latest Unstable Version](https://poser.pugx.org/dogado/json-api-common/v/unstable.png)](https://packagist.org/packages/dogado/json-api-common)
[![License](https://poser.pugx.org/dogado/json-api-common/license)](https://packagist.org/packages/dogado/json-api-common)This library contains php classes and interfaces shared between
[`dogado/json-api-server`](https://github.com/dogado-group/json-api-server) and
[`dogado/json-api-client`](https://github.com/dogado-group/json-api-client).## Installation
```sh
composer require dogado/json-api-common
```## Documentation
1. [JsonApiTrait](docs/01-trait.md)
1. [Resources](docs/02-resources.md)
1. [Relationships](docs/02-resources.md#relationships)
1. [Attributes and Meta-Informations](docs/03-collections.md)
1. [Links](docs/04-links.md)
1. [Documents](docs/05-documents.md)
1. [Exceptions and Errors](docs/06-errors.md)
1. [Request and Response](docs/07-requests.md)
1. [Model conversion](docs/08-models.md)## Credits
- [Chris Döhring](https://github.com/chris-doehring)
- [Philipp Marien](https://github.com/pmarien)
- [eosnewmedia team](https://github.com/eosnewmedia)This package contains code taken from [enm/json-api-common](https://github.com/eosnewmedia/JSON-API-Common).
## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.