diff --git a/src/darwin.sh b/src/darwin.sh index 93dc4754..ba26b6f1 100644 --- a/src/darwin.sh +++ b/src/darwin.sh @@ -2,8 +2,11 @@ echo $1 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew unlink php brew tap exolnet/homebrew-deprecated +brew tap homebrew/homebrew-php brew install php@$1 brew link --force --overwrite php@$1 -brew install composer +curl -sS https://getcomposer.org/installer | php +chmod +x composer.phar +mv composer.phar /usr/local/bin/composer php -v composer -V \ No newline at end of file