Install symfony and symfony
Symfony is a MVC-based PHP framework. The latest version is 2.7.
Working Principle
Two Synfony installation methods
1. Use composer for Installation
1) download composer http://getcomposer.org/composer-setup.exeto install
2) Call the system command line
> Php composer. phar create-project symfony/framework-standard-edition/path/to/webroot/Symfony '~ 2.6
(Use composer help create-project to get more help)
2 download from the official website
1) install the symfony Installer
Installation on Linux and Mac OS X
$ Sudo curl-LsS http://symfony.com/installer-o/usr/local/bin/symfony $ sudo chmod a + x/usr/local/bin/symfony
Installation on Windows
C: \> php-r "readfile ('HTTP: // symfony.com/installer');"> symfony
Place the downloaded file in the folder to be installed
Run
Php symfony
Install
$ Symfony new my_project