PHPackages                             laravel-json-api/eloquent - 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. laravel-json-api/eloquent

ActiveLibrary[API Development](/categories/api)

laravel-json-api/eloquent
=========================

Serialize Eloquent models as JSON:API resources.

v4.6.0(7mo ago)121.4M—4.7%17[1 issues](https://github.com/laravel-json-api/eloquent/issues)[2 PRs](https://github.com/laravel-json-api/eloquent/pulls)4MITPHPPHP ^8.2CI passing

Since Jan 25Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/laravel-json-api/eloquent)[ Packagist](https://packagist.org/packages/laravel-json-api/eloquent)[ Docs](https://github.com/laravel-json-api/eloquent)[ RSS](/packages/laravel-json-api-eloquent/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (5)Versions (35)Used By (4)

laravel-json-api/eloquent
=========================

[](#laravel-json-apieloquent)

Eloquent support for [Laravel JSON:API](https://laraveljsonapi.io) packages.

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

[](#installation)

Install using [Composer](https://getcomposer.org)

```
composer require laravel-json-api/eloquent
```

License
-------

[](#license)

Laravel JSON:API is open-sourced software licensed under the [MIT License](./LICENSE).

###  Health Score

61

—

FairBetter than 99% of packages

Maintenance76

Regular maintenance activity

Popularity50

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 93.5% 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 ~58 days

Recently: every ~88 days

Total

30

Last Release

231d ago

Major Versions

v1.0.1 → v2.0.02022-02-09

v2.3.0 → v3.0.02023-02-14

v3.1.0 → v4.0.02024-03-12

PHP version history (4 changes)v1.0.0-alpha.1PHP ^7.4|^8.0

v1.0.1PHP ^7.4|8.0.\*

v3.0.0PHP ^8.1

v4.0.0PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![lindyhopchris](https://avatars.githubusercontent.com/u/4464333?v=4)](https://github.com/lindyhopchris "lindyhopchris (230 commits)")[![haddowg](https://avatars.githubusercontent.com/u/10784397?v=4)](https://github.com/haddowg "haddowg (2 commits)")[![X-Coder264](https://avatars.githubusercontent.com/u/12602463?v=4)](https://github.com/X-Coder264 "X-Coder264 (2 commits)")[![danny-allen](https://avatars.githubusercontent.com/u/6986485?v=4)](https://github.com/danny-allen "danny-allen (1 commits)")[![devinfd](https://avatars.githubusercontent.com/u/468399?v=4)](https://github.com/devinfd "devinfd (1 commits)")[![e7paul](https://avatars.githubusercontent.com/u/16251512?v=4)](https://github.com/e7paul "e7paul (1 commits)")[![ennorehling](https://avatars.githubusercontent.com/u/629521?v=4)](https://github.com/ennorehling "ennorehling (1 commits)")[![aimeos](https://avatars.githubusercontent.com/u/8647429?v=4)](https://github.com/aimeos "aimeos (1 commits)")[![genyded](https://avatars.githubusercontent.com/u/3081676?v=4)](https://github.com/genyded "genyded (1 commits)")[![joshmurrayeu](https://avatars.githubusercontent.com/u/13717924?v=4)](https://github.com/joshmurrayeu "joshmurrayeu (1 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (1 commits)")[![tommie1001](https://avatars.githubusercontent.com/u/50906358?v=4)](https://github.com/tommie1001 "tommie1001 (1 commits)")[![foxbecoding](https://avatars.githubusercontent.com/u/115181210?v=4)](https://github.com/foxbecoding "foxbecoding (1 commits)")[![bbrala](https://avatars.githubusercontent.com/u/3294970?v=4)](https://github.com/bbrala "bbrala (1 commits)")[![danilogiacomi](https://avatars.githubusercontent.com/u/66949?v=4)](https://github.com/danilogiacomi "danilogiacomi (1 commits)")

---

Tags

laraveljsonapiJSON-APIjsonapi.org

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/laravel-json-api-eloquent/health.svg)

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

###  Alternatives

[laravel-json-api/laravel

JSON:API for Laravel applications.

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

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

7881.1M5](/packages/cloudcreativity-laravel-json-api)[neomerx/json-api

Framework agnostic JSON API (jsonapi.org) implementation

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

Contracts and support classes for Laravel JSON:API packages.

101.5M8](/packages/laravel-json-api-core)[essa/api-tool-kit

set of tools to build an api with laravel

52680.5k](/packages/essa-api-tool-kit)[cloudcreativity/json-api-testing

PHPUnit test helpers to check JSON API documents.

141.6M3](/packages/cloudcreativity-json-api-testing)

PHPackages © 2026

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