composer更换镜像源

1、更换composer镜像源为阿里云composer镜像 

开发者社区地址:https://developer.aliyun.com/composer 

全局配置:

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

取消配置:

composer config -g --unset repos.packagist

 

2、查看composer配置

composer config -l -g

 

posted @ 2020-05-22 16:27  jacek  阅读(2834)  评论(0编辑  收藏  举报