PHPackages                             ipub/json-api-object - 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. ipub/json-api-object

Abandoned → [ipub/json-api-document](/?search=ipub%2Fjson-api-document)Library[API Development](/categories/api)

ipub/json-api-object
====================

JSON:API document factory

v0.2.2(4y ago)0681GPL-2.0PHPPHP &gt;=7.4.0

Since Apr 12Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ipublikuj/json-api-document)[ Packagist](https://packagist.org/packages/ipub/json-api-object)[ Docs](https://github.com/iPublikuj/json-api-document)[ RSS](/packages/ipub-json-api-object/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (8)Dependencies (8)Versions (9)Used By (0)

{JSON:API} document
===================

[](#jsonapi-document)

[![Build Status](https://camo.githubusercontent.com/a1e9e6443eef5860ff42cb53e33b8fc0a99063ef4498633d8ed59c71d0d6e2e8/68747470733a2f2f62616467656e2e6e65742f6769746875622f636865636b732f697075626c696b756a2f6a736f6e2d6170692d646f63756d656e742f6d61737465723f63616368653d333030267374796c653d666c6173742d737175617265)](https://github.com/ipublikuj/json-api-document)[![Code coverage](https://camo.githubusercontent.com/0f92134cad66f6fbc4ddd6de272de42ff869fa981e6ba3b2fea58361bde34d68/68747470733a2f2f62616467656e2e6e65742f636f766572616c6c732f632f6769746875622f697075626c696b756a2f6a736f6e2d6170692d646f63756d656e743f63616368653d333030267374796c653d666c6173742d737175617265)](https://coveralls.io/github/ipublikuj/json-api-document)[![PHP](https://camo.githubusercontent.com/1f695308aee1ebe726a9d089b8bb0bac26743b05432167135dbb9afc8a0129b1/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f697075622f6a736f6e2d6170692d646f63756d656e743f63616368653d333030267374796c653d666c6173742d737175617265)](https://camo.githubusercontent.com/1f695308aee1ebe726a9d089b8bb0bac26743b05432167135dbb9afc8a0129b1/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f697075622f6a736f6e2d6170692d646f63756d656e743f63616368653d333030267374796c653d666c6173742d737175617265)[![Licence](https://camo.githubusercontent.com/7eacfaeeeeace9cc2924e0f6cded5304a75d3dc4cf3b0bd5cbb38d3aca139888/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f6c6963656e73652f697075622f6a736f6e2d6170692d646f63756d656e743f63616368653d333030267374796c653d666c6173742d737175617265)](https://github.com/ipublikuj/json-api-document/blob/master/LICENSE.md)[![Downloads total](https://camo.githubusercontent.com/2132450ec2e09705718ff0da9a84293b36b68398a36005be9c0966b25d7f0d1b/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f64742f697075622f6a736f6e2d6170692d646f63756d656e743f63616368653d333030267374796c653d666c6173742d737175617265)](https://packagist.org/packages/ipub/json-api-document)[![Latest stable](https://camo.githubusercontent.com/3fd9d51c125895dc47017151daa8f8907918fdfd2b43bf1a638d43fe69b18b17/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f697075622f6a736f6e2d6170692d646f63756d656e742f6c61746573743f63616368653d333030267374796c653d666c6173742d737175617265)](https://packagist.org/packages/ipub/json-api-document)[![PHPStan](https://camo.githubusercontent.com/a44af5fc39484990738cc4bd3874d884a42afdeed470b34a010e77bb8341ef31/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/phpstan/phpstan)

Small library for creating [{JSON:API}](http://jsonapi.org) document from object.

Installation
------------

[](#installation)

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

```
composer require ipub/json-api-document
```

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

[](#documentation)

Learn how to create document and handle it in [documentation](https://github.com/iPublikuj/json-api-document/blob/master/docs/en/index.md).

---

Homepage  and repository .

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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 ~125 days

Recently: every ~166 days

Total

8

Last Release

1714d ago

PHP version history (2 changes)v0.0.1PHP &gt;=7.1.0

v0.2.0PHP &gt;=7.4.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 (19 commits)")

---

Tags

ipubipublikujjson-apijson-api-factoryjsonapijsonapiclientjsonapitoolsipubipublikujdocument

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[cloudcreativity/laravel-json-api

JSON API (jsonapi.org) support for Laravel applications.

7881.1M5](/packages/cloudcreativity-laravel-json-api)[nilportugues/laravel5-json-api

Laravel 5 JSON API Transformer Package

31232.4k1](/packages/nilportugues-laravel5-json-api)[nilportugues/jsonapi-bundle

Symfony 2 &amp; 3 JSON API Transformer Package

11446.0k](/packages/nilportugues-jsonapi-bundle)[nilportugues/json-api

Serializer transformers outputting valid API responses in JSON, JSON API and HAL+JSON API formats.

70106.2k3](/packages/nilportugues-json-api)[alsvanzelf/jsonapi

Human-friendly library to implement JSON:API without needing to know the specification.

54150.0k5](/packages/alsvanzelf-jsonapi)[cloudcreativity/json-api-testing

PHPUnit test helpers to check JSON API documents.

141.6M3](/packages/cloudcreativity-json-api-testing)

PHPackages © 2026

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