Install Composer for PHP on Mac OS X
The Tutorial Shows You Step-by-Step How-to Install Composer Globally for PHP Projects Dependency Management on Mac OS X.
Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.
Install PHP5 with OpenSSL Support for Mac OS X:Installing PHP+OpenSSL on MacSetup PHP 5 with OpenSSL Support on Mac OS X.
Open Terminal Window
(Press “Enter” to Execute Commands)
Download Composer Dependencies Manager for PHP:Get Composer InstallerThe Sections Contains Link to Get
Relocate Composer into the System Path
sudo mv composer.phar /usr/local/bin/composer
Testing Composer Installation