Install symfony and symfony. Symfony installation, symfony installation Symfony is a MVC-based PHP framework, the latest version is 2.7 working principles of Synfony installation of two methods 1. use composer for installation 1) Download the composer symfony installation and symfony installation
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
Symfony is a MVC-based PHP Framework. The latest version is 2.7 working principles. two Synfony installation methods are available. 1. use composer for installation. 1) Download composer...