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

Installs: 232 737

Dependents: 1

Suggesters: 0

Security: 0

Stars: 6

Watchers: 1

Forks: 6

Open Issues: 2


1.0.0 2017-02-27 21:57 UTC

This package is not auto-updated.

Last update: 2024-04-13 17:46:39 UTC


Travis Build Status AppVeyor Build status Code Coverage Scrutinizer Code Quality Dependency Status

Latest Stable Version Latest Unstable Version Total Downloads License

The bundle provides an integration of the 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



The bundle is fully unit tested by PHPUnit with a code coverage close to 100%. To execute the test suite, check the travis configuration.


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 file which will explain you how to set up the project.


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