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

AbandonedArchivedLibrary[API Development](/categories/api)

vgirol/jsonapi-constant
=======================

This package provides a set of constants that represents members names of documents using the JSON:API specification.

v1.1.1(5y ago)09203MITPHPPHP ^7.0|^8.0

Since Oct 1Pushed 5y ago1 watchersCompare

[ Source](https://github.com/VGirol/JsonApi-Constant)[ Packagist](https://packagist.org/packages/vgirol/jsonapi-constant)[ Docs](http://github.com/VGirol/JsonApi-Constant)[ RSS](/packages/vgirol-jsonapi-constant/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)DependenciesVersions (7)Used By (3)

JsonApi-Constant
================

[](#jsonapi-constant)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0b783e0d3c5cba06fe49d07b6e916487fd01e0262599757549723ec61aa47ef6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f564769726f6c2f4a736f6e4170692d436f6e7374616e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/VGirol/JsonApi-Constant)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/4033ddb0f09bbc92b2cf365b97cc6422dc7ea208fe49dd6dfe104c4bddf89777/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f564769726f6c2f4a736f6e4170692d436f6e7374616e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/VGirol/JsonApi-Constant)

This package provides a set of constants that represents members names of documents using the [JSON:API specification](https://jsonapi.org/).

Technologies
------------

[](#technologies)

- PHP 7.2+

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

[](#installation)

To install through composer, simply put the following in your `composer.json` file:

```
{
    "require-dev": {
        "vgirol/jsonapi-constant": "dev-master"
    }
}
```

And then run `composer install` from the terminal.

### Quick Installation

[](#quick-installation)

Above installation can also be simplified by using the following command:

```
composer require vgirol/jsonapi-constant
```

Usage
-----

[](#usage)

```
use VGirol\JsonApiConstant\Members;

Members::META_PAGINATION
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Vincent Girol](mailto:vincent@girol.fr)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Recently: every ~137 days

Total

6

Last Release

1867d ago

PHP version history (3 changes)v1.0.0PHP ^7.2

v1.0.2PHP ^7.0

v1.1.1PHP ^7.0|^8.0

### Community

Maintainers

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

---

Top Contributors

[![VGirol](https://avatars.githubusercontent.com/u/18059718?v=4)](https://github.com/VGirol "VGirol (10 commits)")

---

Tags

JSON-APIvgiroljsonapi-constant

### Embed Badge

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

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

###  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)[laravel-json-api/laravel

JSON:API for Laravel applications.

6371.4M15](/packages/laravel-json-api-laravel)[timacdonald/json-api

A Lightweight JSON:API Resource for Laravel

639892.5k2](/packages/timacdonald-json-api)[art4/json-api-client

JSON API client

139791.3k7](/packages/art4-json-api-client)[friendsofcake/crud-json-api

Listener for building CakePHP Crud APIs following the JSON API specification.

58445.4k3](/packages/friendsofcake-crud-json-api)

PHPackages © 2026

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