PHPackages                             iznaur/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. iznaur/serializer-bundle

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

iznaur/serializer-bundle
========================

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

1.0.3(5y ago)0697MITPHPPHP ^7.0 || ^8.0

Since Feb 27Pushed 4y agoCompare

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

READMEChangelogDependencies (11)Versions (5)Used By (0)

README
======

[](#readme)

[![Travis Build Status](https://camo.githubusercontent.com/28aa9fd47d9d177869f0b86ede133009fb33605e95d118e6e86645f824384cf0/68747470733a2f2f6170692e7472617669732d63692e636f6d2f62726573616d2f69766f72792d73657269616c697a65722d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/github/bresam/ivory-serializer-bundle)[![Code Coverage](https://camo.githubusercontent.com/99e984753f32a7b22a81a66f888adc48e9bf2079f480ee76b1df5a35a631ab9c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62726573616d2f69766f72792d73657269616c697a65722d62756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bresam/ivory-serializer-bundle/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ed6531675775e433f0fa499c819cb9e3f91077449e2c3b8dd213882f97f0a85a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62726573616d2f69766f72792d73657269616c697a65722d62756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bresam/ivory-serializer-bundle/?branch=master)

The bundle provides an integration of the [Ivory Serializer](https://github.com/bresam/ivory-serializer) library for your Symfony 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

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 86.2% 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 ~490 days

Total

4

Last Release

1894d ago

PHP version history (3 changes)1.0.0PHP ^5.6|^7.0

1.0.1PHP ^7.0

1.0.3PHP ^7.0 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/41467032?v=4)[Iznaur](/maintainers/Iznaur)[@Iznaur](https://github.com/Iznaur)

---

Top Contributors

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

---

Tags

serializer

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/iznaur-serializer-bundle/health.svg)](https://phpackages.com/packages/iznaur-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)
