CentOS下Composer的安装和使用
作者:互联网
1、下载composer.phar
curl -sS https://getcomposer.org/installer | php
2、把composer.phar移动到环境下让其变成可执行
mv composer.phar /usr/local/bin/composer
3、换中国镜像
composer config -g repo.packagist composer https://packagist.phpcomposer.com
标签:https,Composer,CentOS,getcomposer,phar,phpcomposer,composer,packagist,安装 来源: https://www.cnblogs.com/gentlemanwuyu/p/11433738.html