Symfony Tutorial on Symfony REST Edition

in any modern application, rest service is one of the core fundamental building blocks. be it a web-based application or a slick mobile application, the front-end is usually a well designed interface for the back-end rest services. symfony rest edition provides a readymade template to kick-start our rest based web application.

let us learn how to install a template rest application using symfony rest edition.

step 1 − download symfony rest edition using the following command.

composer create-project gimler/symfony-rest-edition --stability=dev path/to/install

this will download the symfony rest edition.

step 2 − try to configure it by asking some questions. for all the questions, select the default answer except database. for database, select pdo_sqlite. you may need to enable php's sqlite extension, if it is not already installed.

step 3 − now, run the application using the following command.

php app/console server:run

step 4 − finally, open the application in the browser using http://localhost:8000/.

it will produce the following result −

available notes