setup-php/src/darwin.sh

10 lines
249 B
Bash
Raw Normal View History

2019-09-06 06:47:43 +07:00
echo $1
brew unlink php
brew tap exolnet/homebrew-deprecated
brew install php@$1
brew link --force --overwrite php@$1
2019-09-06 21:55:07 +07:00
curl -sS https://getcomposer.org/installer | php
chmod +x composer.phar
mv composer.phar /usr/local/bin/composer
2019-09-06 06:47:43 +07:00
php -v
composer -V