所有项目都会使用该镜像地址:

1
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/

取消配置

1
composer config -g --unset repos.packagist

项目配置

1
composer config repo.packagist composer https://mirrors.aliyun.com/composer/

取消配置

1
composer config --unset repos.packagist

调试

1
composer -vvv require alibabacloud/sdk