$ php -v PHP 7.1.2 (cli) (built: Feb 17 2017 10:51:21) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies $ brew install homebrew/php/composer ==> Installing composer from homebrew/php ==> Downloading https://homebrew.bintray.com/bottles-php/composer-1.4.1.el_capitan.bottle.tar.gz #############################################################