commit 0c44f9729194496381157c6e6b88235d75c5013e
parent cca7020728f5dc9490e75f50e06303a2b5fb5598
Author: Felicitus <felicitus@felicitus.org>
Date: Mon, 19 Aug 2013 17:05:30 +0200
Added JMS SerializerBundle
Diffstat:
3 files changed, 327 insertions(+), 2 deletions(-)
diff --git a/app/AppKernel.php b/app/AppKernel.php
@@ -15,6 +15,7 @@ class AppKernel extends Kernel
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new FOS\RestBundle\FOSRestBundle(),
+ new JMS\SerializerBundle\JMSSerializerBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
);
diff --git a/composer.json b/composer.json
@@ -36,7 +36,8 @@
"sensio/framework-extra-bundle": "~2.3",
"sensio/generator-bundle": "~2.3",
"incenteev/composer-parameter-handler": "~2.0",
- "friendsofsymfony/rest-bundle": "0.13.1"
+ "friendsofsymfony/rest-bundle": "0.13.1",
+ "jms/serializer-bundle": "0.12.0"
},
"autoload": {
"psr-0": { "": "src/" }
diff --git a/composer.lock b/composer.lock
@@ -3,7 +3,7 @@
"This file locks the dependencies of your project to a known state",
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file"
],
- "hash": "ac2be5ea1837d7c82fd3a944dd8ec75f",
+ "hash": "a73097126e6cdf33144db3c2dc93c824",
"packages": [
{
"name": "doctrine/annotations",
@@ -855,6 +855,230 @@
"time": "2013-07-11 13:51:14"
},
{
+ "name": "jms/metadata",
+ "version": "dev-master",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/schmittjoh/metadata.git",
+ "reference": "b63f380d36a70586fd2abe518e35899d044745df"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/schmittjoh/metadata/zipball/b63f380d36a70586fd2abe518e35899d044745df",
+ "reference": "b63f380d36a70586fd2abe518e35899d044745df",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "require-dev": {
+ "doctrine/common": ">=2.0,<2.4-dev"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.4.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "Metadata\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "Apache"
+ ],
+ "authors": [
+ {
+ "name": "Johannes M. Schmitt",
+ "email": "schmittjoh@gmail.com",
+ "homepage": "http://jmsyst.com",
+ "role": "Developer of wrapped JMSSerializerBundle"
+ }
+ ],
+ "description": "Class/method/property metadata management in PHP",
+ "keywords": [
+ "annotations",
+ "metadata",
+ "xml",
+ "yaml"
+ ],
+ "time": "2013-08-04 12:47:51"
+ },
+ {
+ "name": "jms/parser-lib",
+ "version": "dev-master",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/schmittjoh/parser-lib.git",
+ "reference": "d5961fa3fa039aa5ee0e50021c6681ba949e360c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/schmittjoh/parser-lib/zipball/d5961fa3fa039aa5ee0e50021c6681ba949e360c",
+ "reference": "d5961fa3fa039aa5ee0e50021c6681ba949e360c",
+ "shasum": ""
+ },
+ "require": {
+ "phpoption/phpoption": ">=0.9,<2.0-dev"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.1-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "JMS\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "Apache2"
+ ],
+ "description": "A library for easily creating recursive-descent parsers.",
+ "time": "2013-08-09 15:53:02"
+ },
+ {
+ "name": "jms/serializer",
+ "version": "dev-master",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/schmittjoh/serializer.git",
+ "reference": "89a43cbe84e079bcd81d82889b03ded9abda2f47"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/89a43cbe84e079bcd81d82889b03ded9abda2f47",
+ "reference": "89a43cbe84e079bcd81d82889b03ded9abda2f47",
+ "shasum": ""
+ },
+ "require": {
+ "doctrine/annotations": "1.*",
+ "jms/metadata": "~1.1",
+ "jms/parser-lib": "1.*",
+ "php": ">=5.3.2",
+ "phpcollection/phpcollection": ">=0.1,<0.3-dev"
+ },
+ "require-dev": {
+ "doctrine/orm": ">=2.1,<2.4-dev",
+ "symfony/filesystem": "2.*",
+ "symfony/form": ">=2.1,<2.2-dev",
+ "symfony/translation": ">=2.0,<2.2-dev",
+ "symfony/validator": ">=2.0,<2.2-dev",
+ "symfony/yaml": "2.*",
+ "twig/twig": ">=1.8,<2.0-dev"
+ },
+ "suggest": {
+ "symfony/yaml": "Required if you'd like to serialize data to YAML format."
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "0.14-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "JMS\\Serializer": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "Apache2"
+ ],
+ "authors": [
+ {
+ "name": "Johannes M. Schmitt",
+ "email": "schmittjoh@gmail.com",
+ "homepage": "http://jmsyst.com",
+ "role": "Developer of wrapped JMSSerializerBundle"
+ }
+ ],
+ "description": "Library for (de-)serializing data of any complexity; supports XML, JSON, and YAML.",
+ "homepage": "http://jmsyst.com/libs/serializer",
+ "keywords": [
+ "deserialization",
+ "jaxb",
+ "json",
+ "serialization",
+ "xml"
+ ],
+ "time": "2013-08-17 18:17:07"
+ },
+ {
+ "name": "jms/serializer-bundle",
+ "version": "0.12.0",
+ "target-dir": "JMS/SerializerBundle",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/schmittjoh/JMSSerializerBundle.git",
+ "reference": "0.12.0"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/schmittjoh/JMSSerializerBundle/zipball/0.12.0",
+ "reference": "0.12.0",
+ "shasum": ""
+ },
+ "require": {
+ "jms/serializer": "~0.11",
+ "php": ">=5.3.2",
+ "symfony/framework-bundle": "~2.1"
+ },
+ "require-dev": {
+ "doctrine/doctrine-bundle": "*",
+ "doctrine/orm": "*",
+ "symfony/browser-kit": "*",
+ "symfony/class-loader": "*",
+ "symfony/css-selector": "*",
+ "symfony/finder": "*",
+ "symfony/form": "*",
+ "symfony/process": "*",
+ "symfony/twig-bundle": "*",
+ "symfony/validator": "*",
+ "symfony/yaml": "*"
+ },
+ "suggest": {
+ "jms/di-extra-bundle": "Required to get lazy loading (de)serialization visitors, ~1.3"
+ },
+ "type": "symfony-bundle",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "0.12-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "JMS\\SerializerBundle": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "Apache2"
+ ],
+ "authors": [
+ {
+ "name": "Johannes M. Schmitt",
+ "email": "schmittjoh@gmail.com",
+ "homepage": "http://jmsyst.com",
+ "role": "Developer of wrapped JMSSerializerBundle"
+ }
+ ],
+ "description": "Allows you to easily serialize, and deserialize data of any complexity",
+ "homepage": "http://jmsyst.com/bundles/JMSSerializerBundle",
+ "keywords": [
+ "deserialization",
+ "jaxb",
+ "json",
+ "serialization",
+ "xml"
+ ],
+ "time": "2013-07-29 12:36:36"
+ },
+ {
"name": "kriswallsmith/assetic",
"version": "dev-master",
"source": {
@@ -988,6 +1212,105 @@
"time": "2013-08-09 12:12:38"
},
{
+ "name": "phpcollection/phpcollection",
+ "version": "dev-master",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/schmittjoh/php-collection.git",
+ "reference": "0.3.0"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/schmittjoh/php-collection/zipball/0.3.0",
+ "reference": "0.3.0",
+ "shasum": ""
+ },
+ "require": {
+ "phpoption/phpoption": "1.*"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "0.2-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "PhpCollection": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "Apache2"
+ ],
+ "authors": [
+ {
+ "name": "Johannes M. Schmitt",
+ "email": "schmittjoh@gmail.com",
+ "homepage": "http://jmsyst.com",
+ "role": "Developer of wrapped JMSSerializerBundle"
+ }
+ ],
+ "description": "General-Purpose Collection Library for PHP",
+ "keywords": [
+ "collection",
+ "list",
+ "map",
+ "sequence",
+ "set"
+ ],
+ "time": "2013-07-16 08:26:26"
+ },
+ {
+ "name": "phpoption/phpoption",
+ "version": "dev-master",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/schmittjoh/php-option.git",
+ "reference": "1c7e8016289d17d83ced49c56d0f266fd0568941"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/1c7e8016289d17d83ced49c56d0f266fd0568941",
+ "reference": "1c7e8016289d17d83ced49c56d0f266fd0568941",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.3-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "PhpOption\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "Apache2"
+ ],
+ "authors": [
+ {
+ "name": "Johannes M. Schmitt",
+ "email": "schmittjoh@gmail.com",
+ "homepage": "http://jmsyst.com",
+ "role": "Developer of wrapped JMSSerializerBundle"
+ }
+ ],
+ "description": "Option Type for PHP",
+ "keywords": [
+ "language",
+ "option",
+ "php",
+ "type"
+ ],
+ "time": "2013-05-19 11:09:35"
+ },
+ {
"name": "psr/log",
"version": "1.0.0",
"source": {