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

Abandoned → [dogado/json-api-common](/?search=dogado%2Fjson-api-common)ArchivedLibrary[API Development](/categories/api)

chris-doehring/enm-json-api-common
==================================

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

5.1.0(5y ago)01.2k2MITPHPPHP ^7.4 || ^8.0

Since Jun 8Pushed 4y agoCompare

[ Source](https://github.com/chris-doehring/ENM-JSON-API-Common)[ Packagist](https://packagist.org/packages/chris-doehring/enm-json-api-common)[ RSS](/packages/chris-doehring-enm-json-api-common/feed)WikiDiscussions 5.x Synced today

READMEChangelog (7)Dependencies (5)Versions (32)Used By (2)

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

[](#json-api-common)

[![Build Status](https://camo.githubusercontent.com/a1f40361b04357e9f9825dbf667cc6ff7a82134c46f45aae79f387048135d6fa/68747470733a2f2f7472617669732d63692e6f72672f63687269732d646f656872696e672f454e4d2d4a534f4e2d4150492d436f6d6d6f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/chris-doehring/ENM-JSON-API-Common)[![Coverage Status](https://camo.githubusercontent.com/920a0a7c8a8e6c7878f2ecdb8c9c1f235432e4a1dbf18a33c1508495c71e4794/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f63687269732d646f656872696e672f454e4d2d4a534f4e2d4150492d436f6d6d6f6e2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/chris-doehring/ENM-JSON-API-Common?branch=master)[![Total Downloads](https://camo.githubusercontent.com/18bab5e92c434661090abba45fad20b2c0e4bb6bd5b71cd7ac360fbf717ed881/68747470733a2f2f706f7365722e707567782e6f72672f63687269732d646f656872696e672f656e6d2d6a736f6e2d6170692d636f6d6d6f6e2f646f776e6c6f616473)](https://packagist.org/packages/chris-doehring/enm-json-api-common)[![Latest Stable Version](https://camo.githubusercontent.com/ec24294441c34510063b9c9dfe3ca33e71640ec156fb81efa087e9649b7e6f9a/68747470733a2f2f706f7365722e707567782e6f72672f63687269732d646f656872696e672f656e6d2d6a736f6e2d6170692d636f6d6d6f6e2f762f737461626c65)](https://packagist.org/packages/chris-doehring/enm-json-api-common)[![Latest Unstable Version](https://camo.githubusercontent.com/719ee8b19b8db94a1cfe38ed66a62a10fbcdf9ee5dadf3a74fb66d3c4c6e6e6f/68747470733a2f2f706f7365722e707567782e6f72672f63687269732d646f656872696e672f656e6d2d6a736f6e2d6170692d636f6d6d6f6e2f762f756e737461626c652e706e67)](https://packagist.org/packages/chris-doehring/enm-json-api-common)[![License](https://camo.githubusercontent.com/63d38946bbc3bf698eb34cf0397885691d6f27659b669ebbb351bb41e274f601/68747470733a2f2f706f7365722e707567782e6f72672f63687269732d646f656872696e672f656e6d2d6a736f6e2d6170692d636f6d6d6f6e2f6c6963656e7365)](https://packagist.org/packages/chris-doehring/enm-json-api-common)

**This package is abandoned. Please use [`dogado/json-api-common`](https://github.com/dogado-group/json-api-common) instead.**

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

It's based on the [original creation](https://github.com/eosnewmedia/JSON-API-Common) of the [eosnewmedia team](https://github.com/eosnewmedia) and the maintainer [Philipp Marien](https://github.com/pmarien).

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

[](#installation)

```
composer require chris-doehring/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

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 53.7% 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 ~50 days

Recently: every ~80 days

Total

30

Last Release

1792d ago

Major Versions

2.4.0 → 3.0.02018-09-25

2.5.0 → 3.1.02018-10-18

3.x-dev → 4.0.02020-05-05

4.1.1 → 5.0.02020-07-27

4.x-dev → 5.1.02020-10-31

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

3.0.0PHP &gt;=7.2

5.0.0PHP ^7.4

5.1.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8f25bd8f4a5f0287916cd551d6d29410527d9fa8a70d1a9f6705ac8d4e4b1a04?d=identicon)[chris-doehring](/maintainers/chris-doehring)

---

Top Contributors

[![chris-doehring](https://avatars.githubusercontent.com/u/6341536?v=4)](https://github.com/chris-doehring "chris-doehring (29 commits)")[![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)")[![richgerdes](https://avatars.githubusercontent.com/u/1626100?v=4)](https://github.com/richgerdes "richgerdes (1 commits)")[![neilmcgibbon](https://avatars.githubusercontent.com/u/3208382?v=4)](https://github.com/neilmcgibbon "neilmcgibbon (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[algolia/algoliasearch-client-php

API powering the features of Algolia.

69333.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)
