PHPackages                             keios/oc-trait-serializable - 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. keios/oc-trait-serializable

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

keios/oc-trait-serializable
===========================

Serialized object storage trait for OctoberCMS' models.

21721PHP

Since Mar 20Pushed 11y ago3 watchersCompare

[ Source](https://github.com/keiosweb/oc-trait-serializable)[ Packagist](https://packagist.org/packages/keios/oc-trait-serializable)[ RSS](/packages/keios-oc-trait-serializable/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Keios/oc-trait-serializable
===========================

[](#keiosoc-trait-serializable)

[![Latest Version](https://camo.githubusercontent.com/0fa5d2f1b3737072e270df9d87198ac4041700c652c91b49c9813e3c8ce16ce7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6b65696f737765622f6f632d74726169742d73657269616c697a61626c652e7376673f7374796c653d666c61742d737175617265)](https://github.com/keiosweb/oc-trait-serializable/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/f33dea1e9c1168e317b1a9a0deaaae92823e58b50abc3f1a1083dbedb6f89e7d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b65696f732f6f632d74726169742d73657269616c697a61626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/keios/oc-trait-serializable)

Trait for OctoberCMS' models allowing storage of serialized objects.

Install
-------

[](#install)

Via Composer

```
$ composer require keios/oc-trait-serializable
```

Usage
-----

[](#usage)

```
class Account extends Model {           // example model extending October's October\Rain\Database\Model
    use \Keios\Serializable\Serializable;

    protected $serializable = ['fieldToStoreSerializedObjects', 'anotherField'];
}
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Keios Solutions](https://github.com/keiosweb)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/296396f9b0fca242c05ac714f5545e94cdaa3b95b5be1ccdd70ff534ff2b0b8e?d=identicon)[keiosweb](/maintainers/keiosweb)

---

Top Contributors

[![lbialy](https://avatars.githubusercontent.com/u/8607442?v=4)](https://github.com/lbialy "lbialy (5 commits)")

### Embed Badge

![Health badge](/badges/keios-oc-trait-serializable/health.svg)

```
[![Health](https://phpackages.com/badges/keios-oc-trait-serializable/health.svg)](https://phpackages.com/packages/keios-oc-trait-serializable)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.3k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M541](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M208](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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