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.7.0(3mo ago)121.5M↓38%17[1 issues](https://github.com/laravel-json-api/eloquent/issues)[2 PRs](https://github.com/laravel-json-api/eloquent/pulls)4MITPHPPHP ^8.2CI failing

Since Jan 25Pushed 3mo 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 3d ago

READMEChangelogDependencies (10)Versions (36)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

62

—

FairBetter than 99% of packages

Maintenance79

Regular maintenance activity

Popularity50

Moderate usage in the ecosystem

Community30

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

Recently: every ~128 days

Total

31

Last Release

98d 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

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel-json-api/laravel

JSON:API for Laravel applications.

6411.5M19](/packages/laravel-json-api-laravel)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5022.0k](/packages/simplestats-io-laravel-client)[laravel-json-api/core

Contracts and support classes for Laravel JSON:API packages.

101.7M16](/packages/laravel-json-api-core)

PHPackages © 2026

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