Composer 国内镜像地址
根据composer文档提示将镜像地址改为
composer config -g repo.packagist composer https://packagist.phpcomposer.com
发现还会报错
Content-Length mismatch, received 3817089 bytes out of the expected 4257365
https://packagist.phpcomposer.com could not be fully loaded, package information was loaded from the local cache and may be out of date
[Composer\Downloader\TransportException]
The "https://packagist.phpcomposer.com/p/provid...
5001e18de.json" file could not be downloaded (HTTP/1.1 404 Not Found)
建议将地址改为
composer config -g repo.packagist composer https://packagist.laravel-china.org
本作品采用《CC 协议》,转载必须注明作者和本文链接
:+1: