Add dev/+php
This commit is contained in:
parent
2c2212b50d
commit
382498d1eb
1
dev/+php/env.zsh
Normal file
1
dev/+php/env.zsh
Normal file
|
@ -0,0 +1 @@
|
|||
path=(~/.composer/vendor/bin $path)
|
19
dev/+php/install
Executable file
19
dev/+php/install
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/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
|
Loading…
Reference in a new issue