更换composer镜像源 Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
curl error 28 while downloading https://repo.packagist.org/packages.json: Connection timed out after 10013 milliseconds
解决办法:
删除 composer.lock
执行 composer clearcache
执行 composer update
更换composer镜像源:
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/