Skip to content

Instantly share code, notes, and snippets.

@guaracyalima
guaracyalima / install_composer_using_mamp_and_php7.sh
Created October 12, 2017 13:50 — forked from brettalton/install_composer_using_mamp_and_php7.sh
How to install Composer globally using MAMP's PHP
# Tested with Mac OS X 10.11.2 El Capitan & MAMP 3.5
# Jan 17, 2016
# original gist: https://gist.github.com/kkirsche/5710272
###########################################
# Composer & MAMP's installation of PHP 7 #
###########################################
echo "alias phpmamp='/Applications/MAMP/bin/php/php7.0.0/bin/php'" >> ~/.bash_profile
source ~/.bash_profile