mac make composer command with different php version on mac code example
Example: export PATH=/Applications/MAMP/bin/php/php5.4.10/bin:$PATH
export PATH=/Applications/MAMP/bin/php/php5.4.10/bin:$PATH
export PATH=/Applications/MAMP/bin/php/php5.4.10/bin:$PATH