PHPackages                             enm/json-api-common - 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. enm/json-api-common

ActiveLibrary[API Development](/categories/api)

enm/json-api-common
===================

Basic php implementation (shared structures for client and server) of the json api specification (jsonapi.org)

3.2.2(6y ago)14111.7k↓44.6%13[3 PRs](https://github.com/eosnewmedia/JSON-API-Common/pulls)3MITPHPPHP &gt;=7.2

Since Jun 8Pushed 5y ago5 watchersCompare

[ Source](https://github.com/eosnewmedia/JSON-API-Common)[ Packagist](https://packagist.org/packages/enm/json-api-common)[ RSS](/packages/enm-json-api-common/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (3)Versions (26)Used By (3)

JSON API Common
===============

[](#json-api-common)

[![Build Status](https://camo.githubusercontent.com/a1d0162556af432f67019659a285103f7210170be919db7143e01be4e073ef12/68747470733a2f2f7472617669732d63692e6f72672f656f736e65776d656469612f4a534f4e2d4150492d436f6d6d6f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/eosnewmedia/JSON-API-Common)

This library contains php classes and interfaces shared between [`enm/json-api-server`](https://eosnewmedia.github.io/JSON-API-Server/) and [`enm/json-api-client`](https://github.com/eosnewmedia/JSON-API-Client).

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

[](#installation)

```
composer require enm/json-api-common
```

---

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

[](#documentation)

1. [JsonApiTrait](docs/01-trait.md)
2. [Resources](docs/02-resources.md)
    1. [Relationships](docs/02-resources.md#relationships)
3. [Attributes and Meta-Informations](docs/03-collections.md)
4. [Links](docs/04-links.md)
5. [Documents](docs/05-documents.md)
6. [Exceptions and Errors](docs/06-errors.md)
7. [Request and Response](docs/07-requests.md)

---

Changelog
---------

[](#changelog)

See the [Changelog](CHANGELOG.md).

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community26

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~194 days

Total

22

Last Release

1981d ago

Major Versions

1.0.0 → 2.0.02017-07-14

2.4.0 → 3.0.02018-09-25

2.5.0 → 3.1.02018-10-18

PHP version history (2 changes)1.0.0PHP &gt;=7.0

3.0.0PHP &gt;=7.2

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/21ec4e897f4ee0a0d0bcaf844242946502ff852e9bee8fb2e1ef9a2fc2fb5f16?d=identicon)[pmarien](/maintainers/pmarien)

---

Top Contributors

[![pmarien](https://avatars.githubusercontent.com/u/8394874?v=4)](https://github.com/pmarien "pmarien (11 commits)")[![bogomolov-dev](https://avatars.githubusercontent.com/u/127733?v=4)](https://github.com/bogomolov-dev "bogomolov-dev (5 commits)")[![nandorstanko](https://avatars.githubusercontent.com/u/4552672?v=4)](https://github.com/nandorstanko "nandorstanko (3 commits)")[![legendik](https://avatars.githubusercontent.com/u/2327491?v=4)](https://github.com/legendik "legendik (2 commits)")[![OndraM](https://avatars.githubusercontent.com/u/793041?v=4)](https://github.com/OndraM "OndraM (2 commits)")[![neilmcgibbon](https://avatars.githubusercontent.com/u/3208382?v=4)](https://github.com/neilmcgibbon "neilmcgibbon (1 commits)")[![richgerdes](https://avatars.githubusercontent.com/u/1626100?v=4)](https://github.com/richgerdes "richgerdes (1 commits)")

---

Tags

abstractionapijsonjson-apilibraryphpphp-libraryphp7reusable

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[algolia/algoliasearch-client-php

API powering the features of Algolia.

69433.0M114](/packages/algolia-algoliasearch-client-php)[swisnl/json-api-client

A PHP package for mapping remote JSON:API resources to Eloquent like models and collections.

211473.2k12](/packages/swisnl-json-api-client)[php-heroku-client/php-heroku-client

A PHP client for the Heroku Platform API

24404.8k4](/packages/php-heroku-client-php-heroku-client)[yoti/yoti-php-sdk

Yoti SDK for quickly integrating your PHP backend with Yoti

27539.9k1](/packages/yoti-yoti-php-sdk)[trycourier/courier

Courier PHP SDK

16643.9k](/packages/trycourier-courier)[commercetools/commercetools-sdk

The official PHP SDK for the commercetools Composable Commerce APIs

19281.5k](/packages/commercetools-commercetools-sdk)

PHPackages © 2026

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