2017 © Pedro Peláez
 

library jmsserializer-provider

jms serializer provider for the silex framework

image

rootlogin/jmsserializer-provider

jms serializer provider for the silex framework

  • Tuesday, December 23, 2014
  • by rootlogin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Silex JMS Serializer Provider

A simple silex provider for the famous JMS Serializer., (*1)

Build Status Total Downloads Latest Stable Version Scrutinizer Code Quality, (*2)

Installation

Add the provider to your composer.json ``` {.json} { "requires": { "rootlogin/jmsserializer-provider": "~0.5" } }, (*3)


Register the provider in your silex application: ``` {.php} $app->register(new rootLogin\JMSSerializerProvider\JMSSerializerProvider(), array( "jmsserializer.cache_dir" => null, "jmsserializer.debug" => false, "jmsserializer.metadata_dir" => null ));

Then you can use the JMS Serializer in your controllers like this: {.php} $controllers->get("/serialize", function() use ($app, $object) { return new JSONResponse($app['jmsserializer']->serialize($object, 'json')); });, (*4)

Please refer to the manual of JMS Serializer if you need more information how to use it., (*5)

Run the tests

Go to the base directory of the jms-serializerprovider. Do a composer install and enter vendor/bin/phpunit., (*6)

Contribution

Pull request are welcome. Or if you can't or want code you can also contribute by opening a ticket if you see something is wrong., (*7)

The Versions

23/12 2014

dev-master

9999999-dev https://rootlogin.ch

jms serializer provider for the silex framework

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

silex jms jms serializer

23/12 2014

dev-develop

dev-develop https://rootlogin.ch

jms serializer provider for the silex framework

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

silex jms jms serializer

23/12 2014

v0.5.0

0.5.0.0 https://rootlogin.ch

jms serializer provider for the silex framework

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

silex jms jms serializer