Created
June 30, 2019 16:12
-
-
Save sagarPakhrin/9fd42dadfb40cba78886e63f72cfe409 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo curl -s https://getcomposer.org/installer | php | |
sudo mv composer.phar /usr/local/bin/composer | |
#The install command (composer require symfony/symfony) | |
#The current version (3.2.4) | |
#Create a directory on your server for this project: | |
sudo mkdir /var/www/html/symfony-test | |
cd /var/www/html/symfony-test | |
sudo vim composer.json | |
{ | |
"require": { | |
"symfony/symfony": "3.2.4" | |
} | |
} | |
#save and exit and hit the following command | |
composer install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment