PHPackages                             burzum/cakephp-serialize-data-types - 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. burzum/cakephp-serialize-data-types

AbandonedArchivedCakephp-plugin[Database &amp; ORM](/categories/database)

burzum/cakephp-serialize-data-types
===================================

Serialize-able data types for the CakePHP ORM

1.0.0(10y ago)26.3kMITPHP

Since Apr 20Pushed 10y ago1 watchersCompare

[ Source](https://github.com/burzum/cakephp-serialize-data-types)[ Packagist](https://packagist.org/packages/burzum/cakephp-serialize-data-types)[ Docs](http://github.com/burzum/cakephp-serialize-data-types)[ RSS](/packages/burzum-cakephp-serialize-data-types/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

CakePHP serialize-able Data Types
=================================

[](#cakephp-serialize-able-data-types)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.txt)[![Build Status](https://camo.githubusercontent.com/46cbe226dab3a9c0b0e288ed0e0ff4021782fd41d75b592260d38e6b025b49ac/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6275727a756d2f63616b657068702d73657269616c697a652d646174612d74797065732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/burzum/cakephp-serialize-data-types)[![Build Status](https://camo.githubusercontent.com/cb6bb86403d4b4b819b4b4980b4df78ac4026cab3b017169ee6ec84bce24818d/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6275727a756d2f63616b657068702d73657269616c697a652d646174612d74797065732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/r/burzum/cakephp-serialize-data-types)[![Code Quality](https://camo.githubusercontent.com/446f65e692c392027c9991d163150f72831be0d783e10eb2d8ee0555861f0f9f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6275727a756d2f63616b657068702d73657269616c697a652d646174612d74797065732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/r/burzum/cakephp-serialize-data-types)

> Serialization is the process of converting an object into a stream of bytes in order to store the object or transmit it to memory, a database, or a file. Its main purpose is to save the state of an object in order to be able to recreate it when needed. The reverse process is called deserialization.

The plugin will add data types that will allow you to store serialized data in your database.

Requirements
------------

[](#requirements)

- CakePHP 3.0+

How to use?
-----------

[](#how-to-use)

Check the official documentation on how to use data types:

-
-

Serializeable Data Types
------------------------

[](#serializeable-data-types)

The following types are included in this plugin:

- **Json** (using [json\_decode](http://php.net/manual/en/function.json-decode.php) and [json\_encode](http://php.net/manual/en/function.json-encode.php))
- **Serialize** (using [serialize](http://php.net/manual/en/function.serialize.php) and [unserialize](http://php.net/manual/en/function.unserialize.php))

Please notice [this security warning from the official php documentation](http://php.net/manual/en/function.unserialize.php) when using the Serialize data type:

> Do not pass untrusted user input to unserialize(). Unserialization can result in code being loaded and executed due to object instantiation and autoloading, and a malicious user may be able to exploit this. Use a safe, standard data interchange format such as JSON (via json\_decode() and json\_encode()) if you need to pass serialized data to the user.

Support
-------

[](#support)

For support and feature request, please visit the [Support Site](https://github.com/burzum/cakephp-serialize-data-types/issues).

Branch strategy
---------------

[](#branch-strategy)

- The **master** branch holds the `STABLE` latest version of the plugin.
- The **develop** branch is `UNSTABLE` and used to test new features before releasing them.
- Only **hot fixes** are accepted against the master branch.

Contributing to this Plugin
---------------------------

[](#contributing-to-this-plugin)

Please feel free to contribute to the plugin with new issues, requests, unit tests and code fixes or new features. If you want to contribute some code, create a feature branch from develop, and send us your pull request. Unit tests for new features and issues detected are mandatory to keep quality high.

- Pull requests must be send to the `develop` branch.
- Contributions must follow the PSR2 coding standard recommendation.
- [Unit tests](http://book.cakephp.org/3.0/en/development/testing.html) are required.

License
-------

[](#license)

Copyright 2013 - 2016 Florian Krämer

Licensed under the [MIT](http://www.opensource.org/licenses/mit-license.php) License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

Unknown

Total

1

Last Release

3678d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0643e6255da841fe65260ec6e263d8908a40a84b884c32e9fc6be6a15e252fa8?d=identicon)[burzum](/maintainers/burzum)

---

Top Contributors

[![burzum](https://avatars.githubusercontent.com/u/162789?v=4)](https://github.com/burzum "burzum (3 commits)")

---

Tags

jsondatabaseserializeormdata type

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/burzum-cakephp-serialize-data-types/health.svg)

```
[![Health](https://phpackages.com/badges/burzum-cakephp-serialize-data-types/health.svg)](https://phpackages.com/packages/burzum-cakephp-serialize-data-types)
```

###  Alternatives

[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M36](/packages/scienta-doctrine-json-functions)[dunglas/doctrine-json-odm

An object document mapper for Doctrine ORM using JSON types of modern RDBMS.

6285.0M10](/packages/dunglas-doctrine-json-odm)[liqueurdetoile/cakephp-orm-json

Cakephp plugin to provide easy control over JSON type fields in database

1461.1k](/packages/liqueurdetoile-cakephp-orm-json)[friendsofsymfony1/doctrine1

PHP Database ORM for Symfony1. Do NOT use for new projects: please move to a newest Symfony release and Doctrine2

40581.8k](/packages/friendsofsymfony1-doctrine1)[goodwix/doctrine-json-odm

JSON Object-Document Mapping bundle for Symfony and Doctrine

2226.0k](/packages/goodwix-doctrine-json-odm)[icanboogie/activerecord

ActiveRecord Object-relational mapping

135.0k3](/packages/icanboogie-activerecord)

PHPackages © 2026

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