arko/serializer-extensions-bundle

dev-master 2015-04-04 00:21 UTC

This package is not auto-updated.

Last update: 2024-04-27 15:31:21 UTC


README

This bundle provides Symfony2 integration with SerializerExtensions library. This library allows you to use array format with JMSSerializer library.

Installation

1. Install using composer

php composer.phar require arko/serializer-extensions-bundle "dev-master@dev"

2. Enable this bundle in your AppKernel.php

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Arko\SerializerExtensionsBundle\ArkoSerializerExtensionsBundle()
    );
}

3. Use

From now you can use array format when serializing and deserealizing your objects with JMSSeralizer