This projet is a Symfony Distribution to build fast Rest API. This uses the following components :
As it uses the Symfony full-stack framework, this framework is only supported on PHP 5.3.9 and up.
Be warned that PHP 5.3.16 has a major bug in the Reflection subsystem and is not suitable to run Symfony (https://bugs.php.net/bug.php?id=62715)
Get the sources from Github with Composer
composer create-project obtao/symfony-rest-api-framework yourProjectPath
Install the project as a classic Symfony projet (see the documentation)
Test the API example :
/app_dev.php/api/blob should display a datetime
/app_dev.php/ should display the API documentation
Now you're done. Remove the Blob entity and the getBlobAction. Then, start to code in the ApiController.