PHPackages                             soyhuce/laravel-database-object - 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. soyhuce/laravel-database-object

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

soyhuce/laravel-database-object
===============================

Map json columns to PHP Object in Laravel

1.2.0(2mo ago)15.7k[1 issues](https://github.com/Soyhuce/laravel-database-object/issues)[4 PRs](https://github.com/Soyhuce/laravel-database-object/pulls)MITPHPPHP ^8.3CI passing

Since Dec 20Pushed 1mo ago4 watchersCompare

[ Source](https://github.com/Soyhuce/laravel-database-object)[ Packagist](https://packagist.org/packages/soyhuce/laravel-database-object)[ Docs](https://github.com/soyhuce/laravel-database-object)[ RSS](/packages/soyhuce-laravel-database-object/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (13)Versions (10)Used By (0)

Map json columns to PHP Object in Laravel
=========================================

[](#map-json-columns-to-php-object-in-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3a494beb55986419d8cb2b6408a9130da7e7eb996e623be586010a1257e7ef21/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f79687563652f6c61726176656c2d64617461626173652d6f626a6563742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/soyhuce/laravel-database-object)[![GitHub Tests Action Status](https://camo.githubusercontent.com/7f7d2f499afd2276af8dc05062539ab61c1f3c7406a37b82b2db0fdef4e46f7a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736f79687563652f6c61726176656c2d64617461626173652d6f626a6563742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/soyhuce/laravel-database-object/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/6336bf173581df13df9b6fba0d478e6cd93813c72ed0d54fed45466d1282e0c1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736f79687563652f6c61726176656c2d64617461626173652d6f626a6563742f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/soyhuce/laravel-database-object/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![GitHub PHPStan Action Status](https://camo.githubusercontent.com/f8b989e926d66b0e741e7e453cd92dbfe62baf0c314183c2673ff6554f7169a9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736f79687563652f6c61726176656c2d64617461626173652d6f626a6563742f7068707374616e2e796d6c3f6272616e63683d6d61696e266c6162656c3d7068707374616e)](https://github.com/soyhuce/laravel-database-object/actions?query=workflow%3APHPStan+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/2af7abbb9ad70fc758df6182baab6def280c7c63f180d417178a8eece7c847ba/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f79687563652f6c61726176656c2d64617461626173652d6f626a6563742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/soyhuce/laravel-database-object)

Easily map json columns to PHP Object in Laravel. Faster than spatie/laravel-data.

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

[](#installation)

You can install the package via composer:

```
composer require soyhuce/laravel-database-object
```

Usage
-----

[](#usage)

// TBD

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Bastien Philippe](https://github.com/bastien-phi)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance76

Regular maintenance activity

Popularity24

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 70.8% 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 ~200 days

Total

5

Last Release

70d ago

Major Versions

0.2.0 → 1.0.02024-12-17

PHP version history (2 changes)0.1.0PHP ^8.2

1.0.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/206cfbf866a463f7e7d1e86946d59b82f4191b9c89f9981fb03eeb264d77af79?d=identicon)[SoyHuCe](/maintainers/SoyHuCe)

---

Top Contributors

[![bastien-phi](https://avatars.githubusercontent.com/u/10199039?v=4)](https://github.com/bastien-phi "bastien-phi (34 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")[![tnajah59](https://avatars.githubusercontent.com/u/91531929?v=4)](https://github.com/tnajah59 "tnajah59 (1 commits)")

---

Tags

laravelsoyhucelaravel-database-object

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/soyhuce-laravel-database-object/health.svg)

```
[![Health](https://phpackages.com/badges/soyhuce-laravel-database-object/health.svg)](https://phpackages.com/packages/soyhuce-laravel-database-object)
```

###  Alternatives

[illuminate/database

The Illuminate Database package.

2.8k52.4M9.3k](/packages/illuminate-database)[dyrynda/laravel-model-uuid

This package allows you to easily work with UUIDs in your Laravel models.

4802.8M8](/packages/dyrynda-laravel-model-uuid)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8425.3M86](/packages/laravel-doctrine-orm)[watson/validating

Eloquent model validating trait.

9723.3M46](/packages/watson-validating)[spatie/laravel-model-flags

Add flags to Eloquent models

4301.1M1](/packages/spatie-laravel-model-flags)

PHPackages © 2026

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