Code for the article at:
Latest commit 42f08a7 Apr 26, 2014 @liuggio Merge pull request #6 from yourwebmaker/patch-1
Add line-breaks on test methods calls
Failed to load latest commit information.
src Add line-breaks on test methods calls Apr 9, 2014
LICENSE first article Nov 10, 2013 Update Dec 24, 2013

REST API Symfony2: the best 2013 way

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 or just run the following command:

curl -s | 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