1.Composer速度慢
解决方案: https://developer.aliyun.com/composer
2.composer update 和 composer install 区别
解决方案:执行 composer update 会根据 composer.json 相关依赖更新安装,
执行 composer install 会根据composer.lock 相关依赖安装
3. composer update 出现Content-Length mismatch, received bytes out of the expected 620211 ?
解决方案:A.清空缓存 composer clear B。更换源 C. 尝试改大一些 composer config cache-files-maxsize 800MiB
题外话:大概要C:\Users\PC\AppData\Local\Composer\repo\https---repo.packagist.org 会出来
https://getcomposer.org/Composer-Setup.exe
来源:oschina
链接:https://my.oschina.net/u/169565/blog/3195262