2017 © Pedro Peláez
 

symfony-bundle serializer-bundle

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

image

egeloen/serializer-bundle

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

  • Monday, February 27, 2017
  • by egeloen
  • Repository
  • 1 Watchers
  • 5 Stars
  • 58,438 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 3 Forks
  • 3 Open issues
  • 2 Versions
  • 19 % Grown

The README.md

README

Travis Build Status AppVeyor Build status Code Coverage Scrutinizer Code Quality Dependency Status, (*1)

Latest Stable Version Latest Unstable Version Total Downloads License, (*2)

The bundle provides an integration of the Ivory Serializer library for your Symfony2 project., (*3)

``` php use Ivory\Serializer\Format;, (*4)

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

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

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

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

Documentation

Testing

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

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

License

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., (*11)

The Versions