composer切换国内源

原文作者: xingguang
原文链接:https://www.tiance.club/post/186457038.html

调用方式
以阿里云为例,全局模式(推荐):

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

单独项目使用:

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

https://learnku.com/php/wikis/30594
https://www.uedbox.com/post/58890/

原文作者: xingguang
原文链接:https://www.tiance.club/post/186457038.html

原文地址:https://www.cnblogs.com/yizhidaozuihou/p/12830024.html