composer查看镜像地址并更换镜像地址 --- 2023-0

2023-02-20  本文已影响0人  一位先生_

composer 查看全局设置:

composer config -gl

设置composer镜像为国内镜像:

composer config -g repo.packagist composer https://packagist.phpcomposer.com

建议更改为aliyun镜像

composer config -g repo.packagist composer https://mirrors.aliyun.com/composer
上一篇下一篇

猜你喜欢

热点阅读