helm/dev/+php/install

20 lines
393 B
Plaintext
Raw Normal View History

2017-06-08 06:06:42 -07:00
#!/usr/bin/env bash
case $OSTYPE in
darwin*)
brew tap homebrew/homebrew-php
brew install php71 composer
;;
linux*)
if [[ -f /etc/arch-release ]]; then
sudo pacman --needed --noconfirm -S php composer
fi
;;
esac
# global packages
composer global require \
d11wtq/borus \
phpunit/phpunit \
techlivezheng/phpctags