-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·31 lines (25 loc) · 827 Bytes
/
setup.sh
File metadata and controls
executable file
·31 lines (25 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
echo "macOS specific: install packages"
brew install autoconf automake bison freetype gd gettext icu4c krb5 libedit libiconv libjpeg libpng libxml2 libzip pkg-config re2c zlib
echo "done"
echo "install libodfgen: solves No package 'oniguruma' found"
brew install oniguruma
brew install libodfgen
brew install libonig
echo "done"
echo "adding asdf php plugin"
asdf plugin add php
echo "done"
echo "installing php"
asdf install php latest
echo "done"
echo "set latest version to system wide version"
asdf global php latest
echo "done"
echo "optional packages which enable additional extensions to be enabled"
brew install gmp libsodium imagemagick
echo "done"
echo "reshim composer"
composer global require friendsofphp/php-cs-fixer
asdf reshim
php-cs-fixer --version
echo "done"