brew install automake autoconf curl pcre bison re2c mhash libtool icu4c gettext jpeg openssl libxml2 mcrypt gmp libevent libmemcached pck-config
brew link icu4c
brew link --force openssl
brew link --force libxml2
phpbrew install -j $(sysctl -n hw.ncpu) --mirror http://jp2.php.net 7.2 +default +sqlite +mysql +intl
phpbrew switch 7.2.10
phpbrew ext install memcached stable
phpbrew app get composer