symfony2 Install Symfony2 on localhost Using the command prompt

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Example

The best way to install and configure a Symfony2 project is described in the official documentation as follows:

Mac OS X / Linux

$ sudo curl -LsS http://symfony.com/installer -o /usr/local/bin/symfony
$ sudo chmod a+x /usr/local/bin/symfony 

Windows

c:\> php -r "file_put_contents('symfony', file_get_contents('https://symfony.com/installer'));" 

Then you could use the Symfony binary to build the right scaffolding:

$ symfony new my_project 


Got any symfony2 Question?