setup-php/src/darwin.sh

9 lines
248 B
Bash
Raw Normal View History

2019-09-06 06:47:43 +07:00
echo $1
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew unlink php
brew tap exolnet/homebrew-deprecated
brew install php@$1
brew link --force --overwrite php@$1
brew install composer
php -v
composer -V