Install PHP an Composer
- brew update
- brew tap homebrew/dupes
- brew tap homebrew/php
- brew install php56
- brew install composer
You can replace 56 with your preferred version, i.e. php71
To confirm successfull installation, run in terminal:
$ composer -V