symfony2 Install Symfony2 on localhost Using the command prompt


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 -o /usr/local/bin/symfony
$ sudo chmod a+x /usr/local/bin/symfony 


c:\> php -r "file_put_contents('symfony', file_get_contents(''));" 

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

$ symfony new my_project