liuggio / symfony2-rest-api-the-best-2013-way
The "REST API Symfony" demo
Installs: 2 573
Dependents: 0
Suggesters: 0
Security: 0
Stars: 150
Watchers: 14
Forks: 46
Open Issues: 12
Type:project
Requires
- php: >=5.3.3
- doctrine/doctrine-bundle: 1.2.*
- doctrine/orm: >=2.2.3,<2.4-dev
- friendsofsymfony/rest-bundle: ~1.1
- incenteev/composer-parameter-handler: ~2.0
- jms/serializer-bundle: @dev
- nelmio/api-doc-bundle: @dev
- sensio/distribution-bundle: 2.3.*
- sensio/framework-extra-bundle: 2.3.*
- sensio/generator-bundle: 2.3.*
- symfony/assetic-bundle: 2.3.*
- symfony/monolog-bundle: 2.3.*
- symfony/swiftmailer-bundle: 2.3.*
- symfony/symfony: 2.3.*
- twig/extensions: 1.0.*
- willdurand/rest-extra-bundle: @dev
Requires (Dev)
- doctrine/doctrine-fixtures-bundle: dev-master
- guzzle/plugin: 3.7.*
- liip/functional-test-bundle: dev-master
- phpunit/phpunit: 3.7.*
This package is auto-updated.
Last update: 2024-12-18 23:49:46 UTC
README
This is the code to support the article at Symfony2 API REST the best way
Install with Composer
As Symfony uses Composer to manage its dependencies, the recommended way to create a new project is to use it.
If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:
curl -s http://getcomposer.org/installer | php
Then, use the create-project
command to generate a new Symfony application:
php composer.phar create-project liuggio/symfony2-rest-api-the-best-2013-way -sdev
cd blog-rest-symfony2
Composer will install Symfony and all its dependencies under the
blog-rest-symfony2
directory.
Run the test.
This repo is a demo/tutorial,
git checkout -f part1
phpunit -c app
git checkout -f part2
phpunit -c app