Composer 镜像使用帮助

切换镜像指向:

composer config -g repos.packagist composer https://mirrors.cloud.tencent.com/composer/

Composer 安装简明教程:

一、下载:
wget https://mirrors.cloud.tencent.com/composer/composer.phar

二、安装:
mv composer.phar  /usr/local/bin/composer