mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-10-19 12:40:10 +07:00
9 lines
248 B
Bash
9 lines
248 B
Bash
|
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
|