事前準備として、xcodeをappストアからインストールしておく。
### brew install
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
### check
$ brew -v
$ brew install composer
$ composer -v
$ brew install php
$ brew services start php
# terminal restart