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

原文地址:https://www.cnblogs.com/starfish29/p/13566553.html