commit cca7020728f5dc9490e75f50e06303a2b5fb5598
parent e24d7baf1e4672cfb4dac1b22510ca29ad55fb1e
Author: Felicitus <felicitus@felicitus.org>
Date: Mon, 19 Aug 2013 16:49:31 +0200
Added FOSRestBundle
Diffstat:
3 files changed, 180 insertions(+), 2 deletions(-)
diff --git a/app/AppKernel.php b/app/AppKernel.php
@@ -14,6 +14,7 @@ class AppKernel extends Kernel
new Symfony\Bundle\MonologBundle\MonologBundle(),
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
+ new FOS\RestBundle\FOSRestBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
);
diff --git a/composer.json b/composer.json
@@ -35,7 +35,8 @@
"sensio/distribution-bundle": "~2.3",
"sensio/framework-extra-bundle": "~2.3",
"sensio/generator-bundle": "~2.3",
- "incenteev/composer-parameter-handler": "~2.0"
+ "incenteev/composer-parameter-handler": "~2.0",
+ "friendsofsymfony/rest-bundle": "0.13.1"
},
"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": "8f874dba80c74dfe0434d2439c65dd00",
+ "hash": "ac2be5ea1837d7c82fd3a944dd8ec75f",
"packages": [
{
"name": "doctrine/annotations",
@@ -627,6 +627,132 @@
"time": "2013-08-16 04:36:22"
},
{
+ "name": "friendsofsymfony/rest",
+ "version": "0.8.0",
+ "target-dir": "FOS/Rest",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/FriendsOfSymfony/FOSRest.git",
+ "reference": "0.8.0"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/FriendsOfSymfony/FOSRest/zipball/0.8.0",
+ "reference": "0.8.0",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.2",
+ "symfony/http-foundation": ">=2.0,<3.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "0.8.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "FOS\\Rest": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Lukas Kahwe Smith",
+ "email": "smith@pooteeweet.org"
+ },
+ {
+ "name": "FriendsOfSymfony Community",
+ "homepage": "https://github.com/FriendsOfSymfony/FOSRest/contributors"
+ }
+ ],
+ "description": "This library provides various tools to develop RESTful API's",
+ "homepage": "http://friendsofsymfony.github.com",
+ "keywords": [
+ "rest"
+ ],
+ "time": "2013-03-02 20:35:05"
+ },
+ {
+ "name": "friendsofsymfony/rest-bundle",
+ "version": "0.13.1",
+ "target-dir": "FOS/RestBundle",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/FriendsOfSymfony/FOSRestBundle.git",
+ "reference": "0.13.1"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/zipball/0.13.1",
+ "reference": "0.13.1",
+ "shasum": ""
+ },
+ "require": {
+ "doctrine/inflector": "1.0.*",
+ "friendsofsymfony/rest": ">=0.7.0,<0.9.0-dev",
+ "php": ">=5.3.2",
+ "symfony/framework-bundle": "~2.1",
+ "willdurand/negotiation": "1.0.*"
+ },
+ "conflict": {
+ "jms/serializer": "<0.12",
+ "jms/serializer-bundle": "<0.11"
+ },
+ "require-dev": {
+ "jms/serializer-bundle": "0.12.*",
+ "sensio/framework-extra-bundle": "~2.1",
+ "symfony/form": "~2.1",
+ "symfony/security": "~2.1",
+ "symfony/yaml": "~2.1"
+ },
+ "suggest": {
+ "jms/serializer-bundle": "Add support for advanced serialization capabilities, recommended, requires 0.12.*",
+ "sensio/framework-extra-bundle": "Add support for route annotations and the view response listener",
+ "symfony/serializer": "Add support for basic serialization capabilities, requires >=2.0,<2.3-dev"
+ },
+ "type": "symfony-bundle",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "FOS\\RestBundle": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Lukas Kahwe Smith",
+ "email": "smith@pooteeweet.org"
+ },
+ {
+ "name": "FriendsOfSymfony Community",
+ "homepage": "https://github.com/friendsofsymfony/FOSRestBundle/contributors"
+ },
+ {
+ "name": "Konstantin Kudryashov",
+ "email": "ever.zet@gmail.com",
+ "homepage": "http://everzet.com"
+ }
+ ],
+ "description": "This Bundle provides various tools to rapidly develop RESTful API's with Symfony2",
+ "homepage": "http://friendsofsymfony.github.com",
+ "keywords": [
+ "rest"
+ ],
+ "time": "2013-08-15 13:30:47"
+ },
+ {
"name": "incenteev/composer-parameter-handler",
"version": "dev-master",
"target-dir": "Incenteev/ParameterHandler",
@@ -1518,6 +1644,56 @@
"templating"
],
"time": "2013-08-07 12:53:34"
+ },
+ {
+ "name": "willdurand/negotiation",
+ "version": "dev-master",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/willdurand/Negotiation.git",
+ "reference": "a25b58fd5d6cabcd515bc83661788582b0bcf3f8"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/willdurand/Negotiation/zipball/a25b58fd5d6cabcd515bc83661788582b0bcf3f8",
+ "reference": "a25b58fd5d6cabcd515bc83661788582b0bcf3f8",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "Negotiation": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "William Durand",
+ "email": "william.durand1@gmail.com",
+ "homepage": "http://www.willdurand.fr"
+ }
+ ],
+ "description": "Content Negotiation tools for PHP provided as a standalone library.",
+ "homepage": "http://williamdurand.fr/Negotiation/",
+ "keywords": [
+ "accept",
+ "content",
+ "format",
+ "header",
+ "negotiation"
+ ],
+ "time": "2013-08-06 14:47:08"
}
],
"packages-dev": [