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