composer切换到阿里云的镜像

composer使用阿里云的镜像

项目还是切换国内镜像比较好
所有项目都会使用该镜像地址:
composer config repo.packagist composer https://mirrors.aliyun.com/composer/

取消配置:
composer config -g --unset repos.packagist

【composer切换到阿里云的镜像】查看conposer的配置情况
composer config -l

    推荐阅读