Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

:nut_and_bolt: {JSON:API} api tools with data hydration
https://github.com/fastybird/json-api

api data-hydration extension fastybird hydrator json-api json-api-factory library middleware nette nette-framework psr-7

Last synced: 2 months ago
JSON representation

:nut_and_bolt: {JSON:API} api tools with data hydration

Awesome Lists containing this project

README

        

# FastyBird {JSON:API} library

[![Build Status](https://badgen.net/github/checks/FastyBird/json-api/main?cache=300&style=flast-square)](https://github.com/FastyBird/json-api/actions)
[![Licence](https://badgen.net/github/license/FastyBird/json-api?cache=300&style=flast-square)](https://github.com/FastyBird/json-api/blob/main/LICENSE.md)
[![Code coverage](https://badgen.net/coveralls/c/github/FastyBird/json-api?cache=300&style=flast-square)](https://coveralls.io/r/FastyBird/json-api)

![PHP](https://badgen.net/packagist/php/FastyBird/json-api?cache=300&style=flast-square)
[![Latest stable](https://badgen.net/packagist/v/FastyBird/json-api/latest?cache=300&style=flast-square)](https://packagist.org/packages/FastyBird/json-api)
[![Downloads total](https://badgen.net/packagist/dt/FastyBird/json-api?cache=300&style=flast-square)](https://packagist.org/packages/FastyBird/json-api)
[![PHPStan](https://img.shields.io/badge/PHPStan-enabled-brightgreen.svg?style=flat-square)](https://github.com/phpstan/phpstan)

***

## What is FastyBird {JSON:API} library?

This is a [Nette framework](https://nette.org) extension which is implementing [{JSON:API}](https://jsonapi.org/)
hydrator and schema factory.

### Features:

- [PSR-7](http://www.php-fig.org/psr/psr-7/) middleware for transforming exceptions to [{JSON:API}](https://jsonapi.org/)
v1.1 response
- [Doctrine2](https://www.doctrine-project.org) data hydration from [{JSON:API}](https://jsonapi.org/) documents
- [{JSON:API}](https://jsonapi.org/) schemas for building valid responses

## Installation

The best way to install **fastybird/json-api** is using [Composer](http://getcomposer.org/):

```sh
composer require fastybird/json-api
```

## Documentation

Learn how to use {JSON:API} data hydrators & document builders
in [documentation](https://github.com/FastyBird/json-api/blob/main/.docs/en/index.md).

***
Homepage [https://www.fastybird.com](https://www.fastybird.com) and
repository [https://github.com/FastyBird/json-api](https://github.com/FastyBird/json-api).