Ramblings ~

Hopefully useful info on various web dev and software engineering stuff by Michael Noga

Put Composer on Your Path

Make Composer (a PHP dependency manager) globally available on your machine. See below:

1
2
3
4
# install composer
curl -s https://getcomposer.org/installer | php
# possible paths: /usr/bin, /usr/local/bin, /bin
sudo mv composer.phar /usr/local/bin/composer

Now you should be able to use composer from anywhere by simply typing composer in you terminal, enjoy!