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
should the composer be installed in the project folder or the server folder.
for example, if I am using WAMP64 as a local host inside the www folder of I have my project should I install it in the WAMP64 folder or the project folder like perfect cup