PHPackages                             carsdotcom/laravel-json-model - 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. [Database &amp; ORM](/categories/database)
4. /
5. carsdotcom/laravel-json-model

ActiveLibrary[Database &amp; ORM](/categories/database)

carsdotcom/laravel-json-model
=============================

Laravel models backed by JSON data

v1.4.8(1w ago)129.2k↓33.5%1[4 issues](https://github.com/carsdotcom/laravel-json-model/issues)MITPHPPHP ^8.2CI passing

Since Jul 12Pushed 1w ago17 watchersCompare

[ Source](https://github.com/carsdotcom/laravel-json-model)[ Packagist](https://packagist.org/packages/carsdotcom/laravel-json-model)[ RSS](/packages/carsdotcom-laravel-json-model/feed)WikiDiscussions development Synced 2d ago

READMEChangelog (10)Dependencies (36)Versions (32)Used By (0)

Laravel Json Model
==================

[](#laravel-json-model)

We really love Laravel as an ORM. But we have a part of our application that persists to a document store, not a relational database. Json Models let us use the best parts of the Eloquent Models, but instead of being backed by a row in a table, they're always serialized to JSON. (Which can include being serialized to an attribute on a traditional Laravel Model!)

Setup
-----

[](#setup)

For now, you will need to add the following for events to work properly.

1. In AppServiceProvider boot method: `JsonModel::setEventDispatcher($this->app['events']);`
2. In AppServiceProvider register method: `JsonModel::clearBootedModels();`

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance78

Regular maintenance activity

Popularity30

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 65.4% 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 ~71 days

Recently: every ~26 days

Total

16

Last Release

9d ago

PHP version history (2 changes)v1.0.0PHP ^8.1

v1.4.7PHP ^8.2

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/9c6c9dd822416d8cec97ed1b44d5f943aeb39b1adf2980cb819fc111c5cfaa61?d=identicon)[bbene](/maintainers/bbene)

---

Top Contributors

[![jwadhams](https://avatars.githubusercontent.com/u/1613739?v=4)](https://github.com/jwadhams "jwadhams (34 commits)")[![bbene](https://avatars.githubusercontent.com/u/502853?v=4)](https://github.com/bbene "bbene (10 commits)")[![mattwills23](https://avatars.githubusercontent.com/u/26020585?v=4)](https://github.com/mattwills23 "mattwills23 (4 commits)")[![skybluesofa](https://avatars.githubusercontent.com/u/1657128?v=4)](https://github.com/skybluesofa "skybluesofa (3 commits)")[![czedonis](https://avatars.githubusercontent.com/u/5823584?v=4)](https://github.com/czedonis "czedonis (1 commits)")

---

Tags

laravellibrary

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/carsdotcom-laravel-json-model/health.svg)

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

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11223.5M33](/packages/anourvalar-eloquent-serialize)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[ramadan/easy-model

A Laravel package for enjoyably managing database queries.

111.6k](/packages/ramadan-easy-model)

PHPackages © 2026

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