If this post helped you, please consider turning off your adblocker
or giving us all of your money.

Introduction

As a full stack developer I love setting up projects from the command line. Doing this can be cumbersome and adds time before development can start.

At the time of writing this the latest version of Symfony is 3.1.4

With a good text editor like PHPStorm all of the set up is done for you! I know PHPStorm costs money, but it really is worth it to have a good editor.

If you are a student you can use PHPStorm (and all JetBrains products) for free here

Open PHPStorm and choose to Create a New Project. On the left select a Symfony project and rename the location to the name you want to call the project and click create. PHPStorm downloads Symfony and sets everything up in that folder.

Select a SYmfony project.

Once that has finished open the the Terminal in PHPStorm and run this command to start the development servers:


1
php bin/console server:run


Start the servers


Now open up your browser and go to http://127.0.0.1:8000/

Success.


Now you are ready to start building your Symfony 3.1 application!

Note: At this point you don’t have a db set up. The next step would be to set that up, by creating a db and then adding the credentials to app/config/parameters.yml

Success.



If you have any questions please ask us in the comments :)