Firstly install Brew on your MAC
- ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Then install PHP
- brew update
- brew tap homebrew/dupes
- brew tap homebrew/php
- brew install php56
- brew install composer
to test installation, runs:
$ composer -V
Composer version 1.1.2 2016-05-31 19:48:11
@JohnnyWalkerDesign .. you may be on a work machine working on a legacy app that is running on an older version.