Installation
The installation process of Composer is relatively simple. First, let's get in the good habit of updating our server.
# sudo yum -y update
Switch into the temp directory.
# cd /tmp
Install Composer using cURL
# sudo curl -sS https://getcomposer.org/installer | php
Want to make Composer globally accessible?
# mv composer.phar /usr/local/bin/composer # chmod +x /usr/local/bin/composer
To find the version of composer simply use the following command.
# composer -V