I notice that `yum install composer` does not work on CentOS 6, so the following 1 liner command will work instead:

curl -sS https://getcomposer.org/installer | php — –install-dir=/usr/local/bin –filename=composer