PHPackages                             attus/jsonapi - 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. attus/jsonapi

AbandonedLibrary[API Development](/categories/api)

attus/jsonapi
=============

JSON:API Formatter and Response

1.1(4y ago)011GPL-3.0-or-laterPHPPHP ^7.1

Since Aug 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/attus74/jsonapi)[ Packagist](https://packagist.org/packages/attus/jsonapi)[ Docs](https://github.com/attus74/jsonapi)[ RSS](/packages/attus-jsonapi/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (1)Versions (4)Used By (0)

JSON:API
========

[](#jsonapi)

[![No Maintenance Intended](https://camo.githubusercontent.com/d904056147052e22d8e1c7f46bb50293ed2aeb4c43ead9a2d0cf7a48b46d0562/687474703a2f2f756e6d61696e7461696e65642e746563682f62616467652e737667)](http://unmaintained.tech/)

Simple JSON:API Serialization package

```
use Attus\JsonApi\Entity;
use Attus\JsonApi\Response;

$entity = new Entity();
$entity->setId($myId);
$entity->setType($myType);
$entity->setLink(['self', 'href'], $myLink);

$entity->setAttribute($name, $value);
$entity->setRelationship($name, $myRelationship);

$data = $entity->getData();

return new Response($data);
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Total

3

Last Release

1584d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/963df7e1e6fed4dc987c99562b477720bb634c7ce47d0528ccf6e94e9cfea9f8?d=identicon)[attus74](/maintainers/attus74)

---

Top Contributors

[![attus74](https://avatars.githubusercontent.com/u/33147484?v=4)](https://github.com/attus74 "attus74 (6 commits)")

---

Tags

jsonapi

### Embed Badge

![Health badge](/badges/attus-jsonapi/health.svg)

```
[![Health](https://phpackages.com/badges/attus-jsonapi/health.svg)](https://phpackages.com/packages/attus-jsonapi)
```

###  Alternatives

[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k51.2M337](/packages/api-platform-core)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M983](/packages/statamic-cms)[sylius/sylius

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

8.5k5.9M735](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k185.6M2.3k](/packages/symfony-security-bundle)[api-platform/http-cache

API Platform HttpCache component

274.6M19](/packages/api-platform-http-cache)

PHPackages © 2026

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