PHPackages                             noglitchyo/json-api-builder - 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. noglitchyo/json-api-builder

ActiveLibrary[API Development](/categories/api)

noglitchyo/json-api-builder
===========================

Build JSON:API from your entities.

0.2.0(6y ago)162MITPHPPHP ^7.3

Since Jul 3Pushed 6y agoCompare

[ Source](https://github.com/noglitchyo/json-api-builder)[ Packagist](https://packagist.org/packages/noglitchyo/json-api-builder)[ RSS](/packages/noglitchyo-json-api-builder/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

json-api-builder
================

[](#json-api-builder)

> Build a JSON:API from your entities.

[![PHP from Packagist](https://camo.githubusercontent.com/2579f48531c1636793878e2df6d263c8401e6b1f664430ab6b70a3a8ec2e139f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6e6f676c69746368796f2f6a736f6e2d6170692d6275696c6465722e737667)](https://camo.githubusercontent.com/2579f48531c1636793878e2df6d263c8401e6b1f664430ab6b70a3a8ec2e139f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6e6f676c69746368796f2f6a736f6e2d6170692d6275696c6465722e737667)[![Build Status](https://camo.githubusercontent.com/b2848288562f27e5dfcfdf6582f41ee701ef0d2e3d2a021b930621a434657416/68747470733a2f2f7472617669732d63692e6f72672f6e6f676c69746368796f2f6a736f6e2d6170692d6275696c6465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/noglitchyo/json-api-builder)[![codecov](https://camo.githubusercontent.com/d15c43907b038e18bd29e36c768cb998e4d3d989d923ff71d8b4542518cc7ca2/68747470733a2f2f636f6465636f762e696f2f67682f6e6f676c69746368796f2f6a736f6e2d6170692d6275696c6465722f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/noglitchyo/json-api-builder)[![Scrutinizer code quality (GitHub/Bitbucket)](https://camo.githubusercontent.com/bb65fea57cd236a8afe88090bb2424e98e44661b9cedec7fa114737f80b41f35/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f6e6f676c69746368796f2f6a736f6e2d6170692d6275696c6465722e737667)](https://camo.githubusercontent.com/bb65fea57cd236a8afe88090bb2424e98e44661b9cedec7fa114737f80b41f35/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f6e6f676c69746368796f2f6a736f6e2d6170692d6275696c6465722e737667)[![Packagist](https://camo.githubusercontent.com/424593564b8c2478f5ed1dfb5cdda63718593b9ba6a6085c771dd04581d3f732/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e6f676c69746368796f2f6a736f6e2d6170692d6275696c6465722e737667)](https://camo.githubusercontent.com/424593564b8c2478f5ed1dfb5cdda63718593b9ba6a6085c771dd04581d3f732/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e6f676c69746368796f2f6a736f6e2d6170692d6275696c6465722e737667)

### Description

[](#description)

**json-api-builder** is a simple library to generate easily a JSON:API from your entities. Implement the ResourceObject interface on your entities, provide your API URI. You're all set!

### Getting started

[](#getting-started)

#### Requirements

[](#requirements)

- PHP &gt;= 7.3

#### Installation

[](#installation)

`composer require noglitchyo/json-api-builder`

#### Run

[](#run)

#### Tests

[](#tests)

Would like to the run the test suite? Go ahead:

`composer test`

### References

[](#references)

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

Total

2

Last Release

2501d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5823bcfba95933f99e94e241cbd3f5c22cec877d24b8c9f602bf44c4cd821cd5?d=identicon)[noglitchyo](/maintainers/noglitchyo)

---

Top Contributors

[![noglitchyo](https://avatars.githubusercontent.com/u/764791?v=4)](https://github.com/noglitchyo "noglitchyo (9 commits)")

---

Tags

apientitiesjsonjson-apijsonapiserializerjsonapijsonapiJSON-APIhypermedia

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[neomerx/json-api

Framework agnostic JSON API (jsonapi.org) implementation

7373.6M27](/packages/neomerx-json-api)[cloudcreativity/laravel-json-api

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

7881.1M5](/packages/cloudcreativity-laravel-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)[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)

PHPackages © 2026

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