composer切换到阿里云的镜像

composer使用阿里云的镜像

项目还是切换国内镜像比较好

所有项目都会使用该镜像地址:

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

取消配置:

composer config -g --unset repos.packagist

查看conposer的配置情况

composer config -l

你可能感兴趣的:(composer切换到阿里云的镜像)