PHP framework for web projects
Installation
macOS
https://dab.io/getting-started-with-symfony-on-yosemite.html
1. install xcode
xcode-select —install2. install homebrew
$ ruby -e ”$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”3. optional, install MariaDB
brew install mariadb4. use composer to install composer?
cdcurl -sS https://getcomposer.org/installer | phpmv composer.phar /usr/local/bin/composer5. install Symphony
composer create-project symfony/framework-standard-edition symfony/ “2.5.*”6. set the write permissions to the log/ and cache/ directories
cd symfonychmod 0777 app/{cache,logs}chmod +a “`whoami` allow delete,write,append,file_inherit,directory_inherit” app/{cache,logs}or replace
whomwith your username (which can be found with the command whoami)7. start the builtin web server and open your browser at localhost:8000/config.php
php app/console server:run
Example Project
- Silex Twig Symphony - https://github.com/TheRealMarcusChiu/PHPSilexTwigSymphony.git