PHPackages                             egeloen/serializer-bundle - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. egeloen/serializer-bundle

ActiveSymfony-bundle[Parsing &amp; Serialization](/categories/parsing)

egeloen/serializer-bundle
=========================

Serializer for PHP 5.6+ supporting JSON, XML, YAML &amp; CSV

1.0.0(9y ago)6246.0k—6.3%8[2 issues](https://github.com/egeloen/IvorySerializerBundle/issues)1MITPHPPHP ^5.6|^7.0

Since Feb 27Pushed 8y ago1 watchersCompare

[ Source](https://github.com/egeloen/IvorySerializerBundle)[ Packagist](https://packagist.org/packages/egeloen/serializer-bundle)[ RSS](/packages/egeloen-serializer-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (10)Versions (2)Used By (1)

README
======

[](#readme)

[![Travis Build Status](https://camo.githubusercontent.com/ca7911c25fdc91bea7f2ea8a599f62a17cc9cb2dfb6a5eec1c45bd6c0eec22f2/68747470733a2f2f7472617669732d63692e6f72672f6567656c6f656e2f49766f727953657269616c697a657242756e646c652e7376673f6272616e63683d6d6173746572)](http://travis-ci.org/egeloen/IvorySerializerBundle)[![AppVeyor Build status](https://camo.githubusercontent.com/260d33e530b0d52c49145537162e9a8d188ea19799754fc83eb6973e4271e9e8/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f38796476686267777379306b333975782f6272616e63682f6d61737465723f7376673d74727565)](https://ci.appveyor.com/project/egeloen/ivoryserializerbundle/branch/master)[![Code Coverage](https://camo.githubusercontent.com/cdb3edaa66e88f6028e8c748291b1339e1344f3616a25f7d31c7ff5d1de52acc/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6567656c6f656e2f49766f727953657269616c697a657242756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/egeloen/IvorySerializerBundle/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ff5816545b9f0bc655ef31e8db22e9f0fd3c4eb7d3a80c97b469892575b7ac08/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6567656c6f656e2f49766f727953657269616c697a657242756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/egeloen/IvorySerializerBundle/?branch=master)[![Dependency Status](https://camo.githubusercontent.com/affa0fd05595f247cd3488366650165256a5b7cfa7dea7659214c93f88999b46/687474703a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f6567656c6f656e3a73657269616c697a65722d62756e646c652f62616467652e737667)](http://www.versioneye.com/php/egeloen:serializer-bundle)

[![Latest Stable Version](https://camo.githubusercontent.com/8435bd596f8e63de759be3ecbcd9df8a8240966e140d616362b04f4339d054a3/68747470733a2f2f706f7365722e707567782e6f72672f6567656c6f656e2f73657269616c697a65722d62756e646c652f762f737461626c652e737667)](https://packagist.org/packages/egeloen/serializer-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/f8e13d95269cdb95673054b6ab529c9501966207e25e0ea0f8bf354d6489026b/68747470733a2f2f706f7365722e707567782e6f72672f6567656c6f656e2f73657269616c697a65722d62756e646c652f762f756e737461626c652e737667)](https://packagist.org/packages/egeloen/serializer-bundle)[![Total Downloads](https://camo.githubusercontent.com/ee6dce9d9211befb98030edb2cb3c85044ca5c2b6a2036d5aa2cada886f8e7b2/68747470733a2f2f706f7365722e707567782e6f72672f6567656c6f656e2f73657269616c697a65722d62756e646c652f646f776e6c6f6164732e737667)](https://packagist.org/packages/egeloen/serializer-bundle)[![License](https://camo.githubusercontent.com/afd7be93764ebb4a8181d21c9ffbff867e2cfeb5605eaf8c461f1ec2afbee662/68747470733a2f2f706f7365722e707567782e6f72672f6567656c6f656e2f73657269616c697a65722d62756e646c652f6c6963656e73652e737667)](https://packagist.org/packages/egeloen/serializer-bundle)

The bundle provides an integration of the [Ivory Serializer](https://github.com/egeloen/ivory-serializer) library for your Symfony2 project.

```
use Ivory\Serializer\Format;

$stdClass = new \stdClass();
$stdClass->foo = true;
$stdClass->bar = ['foo', [123, 432.1]];

$serializer = $container->get('ivory.serializer');

echo $serializer->serialize($stdClass, Format::JSON);
// {"foo": true,"bar": ["foo", [123, 432.1]]}

$deserialize = $serializer->deserialize($json, \stdClass::class, Format::JSON);
// $deserialize == $stdClass
```

Documentation
-------------

[](#documentation)

- [Installation](/Resources/doc/installation.md)
- [Usage](/Resources/doc/usage.md)
- [Configuration](/Resources/doc/configuration/index.md)
    - [Mapping](/Resources/doc/configuration/mapping.md)
    - [Type](/Resources/doc/configuration/type.md)
    - [Event](/Resources/doc/configuration/event.md)
    - [Visitor](/Resources/doc/configuration/visitor.md)
    - [Cache](/Resources/doc/configuration/cache.md)
    - [FOSRestBundle Integration](/Resources/doc/configuration/fos_rest.md)

Testing
-------

[](#testing)

The bundle is fully unit tested by [PHPUnit](http://www.phpunit.de/) with a code coverage close to **100%**. To execute the test suite, check the travis [configuration](/.travis.yml).

Contribute
----------

[](#contribute)

We love contributors! Ivory is an open source project. If you'd like to contribute, feel free to propose a PR! You can follow the [CONTRIBUTING](/CONTRIBUTING.md) file which will explain you how to set up the project.

License
-------

[](#license)

The Ivory Google Map Bundle is under the MIT license. For the full copyright and license information, please read the [LICENSE](/LICENSE) file that was distributed with this source code.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3367d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/808f1df1f6ccd749b9c985f3b4a8753788e9bf74e7cead639fcf49cd2a714fd0?d=identicon)[egeloen](/maintainers/egeloen)

---

Top Contributors

[![GeLoLabs](https://avatars.githubusercontent.com/u/149005863?v=4)](https://github.com/GeLoLabs "GeLoLabs (25 commits)")

---

Tags

serializer

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/egeloen-serializer-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/egeloen-serializer-bundle/health.svg)](https://phpackages.com/packages/egeloen-serializer-bundle)
```

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[goetas-webservices/xsd2php

Convert XSD (XML Schema) definitions into PHP classes and JMS metadata

2411.6M37](/packages/goetas-webservices-xsd2php)[goetas-webservices/xsd2php-runtime

Convert XSD (XML Schema) definitions into PHP classes

4910.9M36](/packages/goetas-webservices-xsd2php-runtime)[flix-tech/avro-serde-php

A library to serialize and deserialize Avro records making use of the confluent schema registry

674.0M17](/packages/flix-tech-avro-serde-php)[laminas/laminas-serializer

Serialize and deserialize PHP structures to a variety of representations

3411.2M115](/packages/laminas-laminas-serializer)[zumba/json-serializer

Serialize PHP variables, including objects, in JSON format. Support to unserialize it too.

129743.7k13](/packages/zumba-json-serializer)

PHPackages © 2026

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