composer 镜像

By in 学习 on 04/21/2020

当前项目设置为阿里镜像

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

全局使用阿里镜像

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

取消设置

composer config --unset repos.packagist

 

发表评论

电子邮件地址不会被公开。 必填项已用*标注