Created
March 4, 2016 11:18
-
-
Save joka123/883c3d1fc02c47ce6fed to your computer and use it in GitHub Desktop.
composer for domainfactory
This file contains hidden or 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
# Run | |
# curl -sS https://gist.githubusercontent.com/joka123/883c3d1fc02c47ce6fed/raw/441bdd9d2aee517bf19d35340eb0a5e592479c31/install.composer.sh | sh | |
# | |
PHPCLI=/usr/local/bin/php5-56LATEST-CLI | |
cd ~; mkdir bin | |
curl -sS https://getcomposer.org/installer | ${PHPCLI} -- --install-dir=bin | |
chmod +x bin/composer.phar | |
echo "alias composer=\"${PHPCLI} ~/bin/composer.phar\"" >> ~/.bashrc | |
echo "alias composer=\"${PHPCLI} ~/bin/composer.phar\"" >> ~/.zshrc | |
source ~/.bashrc | |
source ~/.zshrc | |
echo "* * * * * * * * * * * * * * * * * * * * * * * * * * * * *" | |
composer --version | |
echo "* * * * * * * * * * * * * * * * * * * * * * * * * * * * *" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment