helm/dev/+php/install
Henrik Lissner 382498d1eb
Add dev/+php
2017-06-08 15:06:42 +02:00

20 lines
393 B
Bash
Executable file

#!/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