WARNING
阿里云的 Composer 源已经停止维护,请停止使用!


腾讯云 Composer 镜像使用帮助

切换镜像指向:

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

Composer 安装简明教程:

一、下载:

wget https://mirrors.tencent.com/composer/composer.phar

二、安装:

mv composer.phar  /usr/local/bin/composer

 取消镜像配置:

composer config -g --unset repos.packagist

 腾讯云 Composer 镜像官网地址:https://mirrors.cloud.tencent.com/help/composer.html