composer 遇见问题 整理

修改镜像源:改为阿里云镜像

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

 

报错:Content-Length mismatch, received 523324 bytes out of the expected 605211

处理:

  修改缓存文件大小配置:composer config cache-files-maxsize 800MiB

上一篇:Fiddler Everywhere的使用


下一篇:composer 2 install 或 update时报错解决