最近composer update 总提示:
Your configuration does not allow connection to http://packagist.phpcompose
r.com. See https://getcomposer.org/doc/06-config.md#secure-http for details
.
网上查一下,说是因为镜像使用用的是http,而原地址是需要https,所以配置下关掉https就好了。
{
"config": {
"secure-http": false
}
}