composer更换镜像

Vinchan 2020-04-28 PM 103℃ 0条

查看composer配置

composer config -gl

全局配置(所有项目都会采用该镜像)

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

独立配置(仅当前项目采用该镜像)

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

推荐镜像:
阿里云镜像:

https://mirrors.aliyun.com/composer/

学院镜像:

https://packagist.laravel-china.org/

国际镜像:

https://packagist.org

非特殊说明,本博所有文章均为博主原创。

评论啦~