Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Install Composer on Webfaction
# Updated for Webfaction in December 2015 when PHP 5.4-5.6 are available and PHP 5.6 is the default 'php' executable
cd $HOME
curl -sS | php
echo -e "\n# Composer\nalias composer=\"php \$HOME/composer.phar\"" >> $HOME/.bash_profile
source $HOME/.bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment