Composer

安装

换源

全局配置

  • composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ ,具体查看 阿里云 Composer 全量镜像
  • composer config -g repo.packagist composer https://packagist.phpcomposer.com
  • composer config -g repo.packagist composer https://packagist.org

修改完,composer update nothing

阿里云偶尔不行,可以用第二个。

取消配置 composer config -g --unset repos.packagist

和 Xebug

自检

其他源

发表评论

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