could not be fully loaded curl error 28 while downloading https://repo.packagist.org/packages.json: Operation timed out after 10000 milliseconds with 0 out of 0 bytes received), package informa
Installation failed, deleting ./composer.json.
[Composer\Downloader\TransportException]
解决方法
方法一、首先检查更新composer版本。
方法二、重新设置composer packagist。
命令如下: composer config -g repo.packagist composer https://packagist.phpcomposer.com
阿里云镜像:composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
重新加载插件 php composer.phar require --prefer-dist 插件名称