centos ho to reinstall composer code example
Example 1: centos install copmposer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && php composer-setup.php --install-dir=/usr/local/bin --filename=composer
Example 2: centos 7 install php composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"