liuggio/symfony2-rest-api-the-best-2013-way

The "REST API Symfony" demo

dev-master / 2.3.x-dev 2014-04-26 12:32 UTC

This package is auto-updated.

Last update: 2024-10-18 23:25:38 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