早睡早起,方能养生!
Sleep early rise early, square can preserve one's health!

composer 切换国内源

super
2020-05-26 16:02
views 341

composer切换源

全局切换

#禁用默认源
composer config -g secure-http false

#修改为阿里云源
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/

#查看是否修改成功
composer config -g -l

image.png

修改成功






分享
0 条讨论
top