PHPackages                             luminark/serializable-values - 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. luminark/serializable-values

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

luminark/serializable-values
============================

Luminark Serializable Values package.

0.2.2(10y ago)074MITPHP

Since Dec 17Pushed 10y ago1 watchersCompare

[ Source](https://github.com/luminark/serializable-values)[ Packagist](https://packagist.org/packages/luminark/serializable-values)[ RSS](/packages/luminark-serializable-values/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (4)Versions (6)Used By (0)

\#Luminark Serializable Values Package

[![Build Status](https://camo.githubusercontent.com/116d61c9e640cf4e7094a9114233b60686c074ec0501eb100a614b9932bcf6de/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c756d696e61726b2f73657269616c697a61626c652d76616c7565732e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/luminark/serializable-values)[![Code Coverage](https://camo.githubusercontent.com/525a1019f385b6e280d42905395078904c0ba4f03dc385c2fc20e9e7cecef4ea/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6c756d696e61726b2f73657269616c697a61626c652d76616c7565732e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/github/luminark/serializable-values)[![SensioLabsInsight](https://camo.githubusercontent.com/903ae4df31321d6f71281eeff8cac79ec96fb322523df403b6ceeba983689ff9/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f64616237663134642d636437622d343666362d386137332d3532373431663735623736322e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/dab7f14d-cd7b-46f6-8a73-52741f75b762)[![Scrutinizer](https://camo.githubusercontent.com/25fac11d4b3e5258a12d560ec1c0c0d6b4131e400051a97c29c489a4cf2f8670/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c756d696e61726b2f73657269616c697a61626c652d76616c7565732e737667)](https://scrutinizer-ci.com/g/luminark/serializable-values)

Enables you to save serialized attribute values on your models. Simply use the `HasSerializableValuesTrait` trait on your models, define a `values` column on the model table and implement `getSerializableAttributes()` method to define which attributes' values can be serialized.

Example:

```
class Example extends Model
{
    use HasSerializableValuesTrait;

    protected function getSerializableAttributes()
    {
        return ['foo', 'bar'];
    }
}
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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

Total

5

Last Release

3844d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f84895d9d8a19c2cfb1681e48e8228b799bbd4c839dbd2195c4a1927486fefa?d=identicon)[mvrkljan](/maintainers/mvrkljan)

---

Top Contributors

[![mvrkljan](https://avatars.githubusercontent.com/u/694929?v=4)](https://github.com/mvrkljan "mvrkljan (7 commits)")

---

Tags

laraveleloquentserializableluminark

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/luminark-serializable-values/health.svg)

```
[![Health](https://phpackages.com/badges/luminark-serializable-values/health.svg)](https://phpackages.com/packages/luminark-serializable-values)
```

###  Alternatives

[kirschbaum-development/eloquent-power-joins

The Laravel magic applied to joins.

1.6k29.9M42](/packages/kirschbaum-development-eloquent-power-joins)[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.0M90](/packages/mongodb-laravel-mongodb)[spatie/laravel-sluggable

Generate slugs when saving Eloquent models

1.5k12.4M294](/packages/spatie-laravel-sluggable)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[watson/validating

Eloquent model validating trait.

9733.4M53](/packages/watson-validating)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8723.1M23](/packages/yajra-laravel-oci8)

PHPackages © 2026

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