Skip to content

Instantly share code, notes, and snippets.

@sagarPakhrin
Created June 30, 2019 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sagarPakhrin/9fd42dadfb40cba78886e63f72cfe409 to your computer and use it in GitHub Desktop.
Save sagarPakhrin/9fd42dadfb40cba78886e63f72cfe409 to your computer and use it in GitHub Desktop.
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