PHPackages                             fastybird/json-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. fastybird/json-api

ActiveLibrary[API Development](/categories/api)

fastybird/json-api
==================

{JSON:API} api tools with data hydration

v0.19.0(1y ago)048.7k↑300%1Apache-2.0PHPPHP &gt;=8.1.0CI failing

Since May 29Pushed 1y ago1 watchersCompare

[ Source](https://github.com/FastyBird/json-api)[ Packagist](https://packagist.org/packages/fastybird/json-api)[ Docs](https://www.fastybird.com)[ RSS](/packages/fastybird-json-api/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (10)Dependencies (31)Versions (37)Used By (1)

FastyBird {JSON:API} library
============================

[](#fastybird-jsonapi-library)

[![Build Status](https://camo.githubusercontent.com/5c942d23ecc669baf3323c51e3fee58bfa13c698381b12bd91b424dc91dca33a/68747470733a2f2f62616467656e2e6e65742f6769746875622f636865636b732f4661737479426972642f6a736f6e2d6170692f6d61696e3f63616368653d333030267374796c653d666c6173742d737175617265)](https://github.com/FastyBird/json-api/actions)[![Licence](https://camo.githubusercontent.com/cd63c0f7aa0d7e2a92161b1733b84f9fb3516ea8e34b39eb905e667b9df90c7a/68747470733a2f2f62616467656e2e6e65742f6769746875622f6c6963656e73652f4661737479426972642f6a736f6e2d6170693f63616368653d333030267374796c653d666c6173742d737175617265)](https://github.com/FastyBird/json-api/blob/main/LICENSE.md)[![Code coverage](https://camo.githubusercontent.com/fc8b59ebcfb60561d670c68c57dddd1be5731ed1a9b83cc9299394be46ce96e0/68747470733a2f2f62616467656e2e6e65742f636f766572616c6c732f632f6769746875622f4661737479426972642f6a736f6e2d6170693f63616368653d333030267374796c653d666c6173742d737175617265)](https://coveralls.io/r/FastyBird/json-api)

[![PHP](https://camo.githubusercontent.com/877e86ee04ce49bbf8e396c25c476b1b2dbcb3c35b45d579b6788db4974dee23/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f4661737479426972642f6a736f6e2d6170693f63616368653d333030267374796c653d666c6173742d737175617265)](https://camo.githubusercontent.com/877e86ee04ce49bbf8e396c25c476b1b2dbcb3c35b45d579b6788db4974dee23/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f4661737479426972642f6a736f6e2d6170693f63616368653d333030267374796c653d666c6173742d737175617265)[![Latest stable](https://camo.githubusercontent.com/73ce01f7d84272ad43a0755fd90e678a2a694f84c6a852ef98137eb0050245e2/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f4661737479426972642f6a736f6e2d6170692f6c61746573743f63616368653d333030267374796c653d666c6173742d737175617265)](https://packagist.org/packages/FastyBird/json-api)[![Downloads total](https://camo.githubusercontent.com/f4b4e81946cd1a2481332173b6cd37f7f22bb967369bea82d27da66dcce8a3c6/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f64742f4661737479426972642f6a736f6e2d6170693f63616368653d333030267374796c653d666c6173742d737175617265)](https://packagist.org/packages/FastyBird/json-api)[![PHPStan](https://camo.githubusercontent.com/a44af5fc39484990738cc4bd3874d884a42afdeed470b34a010e77bb8341ef31/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/phpstan/phpstan)

---

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

[](#what-is-fastybird-jsonapi-library)

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

### Features:

[](#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
------------

[](#installation)

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

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

Documentation
-------------

[](#documentation)

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

---

Homepage  and repository .

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~33 days

Recently: every ~16 days

Total

36

Last Release

670d ago

PHP version history (4 changes)v0.1.0PHP &gt;=7.4.0

v0.1.2PHP &gt;=7.4.0|&gt;=8.0.0

v0.11.0PHP &gt;=8.0.0|&gt;=8.1.0

v0.12.0PHP &gt;=8.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2c952d3ec44db15105f8c8d4ccdb6cd0fe1a17445a5aa36470a044b1c17d2f2?d=identicon)[akadlec](/maintainers/akadlec)

---

Top Contributors

[![akadlec](https://avatars.githubusercontent.com/u/1866672?v=4)](https://github.com/akadlec "akadlec (129 commits)")

---

Tags

apidata-hydrationextensionfastybirdhydratorjson-apijson-api-factorylibrarymiddlewarenettenette-frameworkpsr-7apilibraryjsonapilibsfbfastybird

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/fastybird-json-api/health.svg)

```
[![Health](https://phpackages.com/badges/fastybird-json-api/health.svg)](https://phpackages.com/packages/fastybird-json-api)
```

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.8k19.1M1.7k](/packages/cakephp-cakephp)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M712](/packages/sylius-sylius)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[thecodingmachine/graphqlite

Write your GraphQL queries in simple to write controllers (using webonyx/graphql-php).

5733.2M40](/packages/thecodingmachine-graphqlite)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69634.4M144](/packages/algolia-algoliasearch-client-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
