当前位置: 代码迷 >> 综合 >> composer 怎么从国内镜像恢复到国外镜像去
  详细解决方案

composer 怎么从国内镜像恢复到国外镜像去

热度:110   发布时间:2023-10-11 00:10:01.0

取消镜像

composer config -g --unset repos.packagist

一键切换国内镜像

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

切换为国外镜像:

composer config -g repo.packagist composer https://packagist.org

 

  相关解决方案