composer 切换国内源
super
2020-05-26 16:02
2964
composer切换源
全局切换
#禁用默认源
composer config -g secure-http false
#修改为阿里云源
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
#查看是否修改成功
composer config -g -l
#更新composer
composer self-update --2
修改成功
0 条讨论