Composer切换到国内阿里云镜像
阿里云地址
https://developer.aliyun.com/composer
所有项目都会使用该镜像地址: composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ 取消配置: composer config -g --unset repos.packagist
项目配置
仅修改当前工程配置,仅当前工程可使用该镜像地址: composer config repo.packagist composer https://mirrors.aliyun.com/composer/ 取消配置: composer config --unset repos.packagist
码字很辛苦,转载请注明来自NAERENET的《Composer切换到国内阿里云镜像》
2020-08-29 13:35:51