cent os 7 install composer code example
Example 1: centos install composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
Example 2: centos 7 install php composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"