最近使用composer进行php依赖管理,但是国内镜像http://packagist.phpcomposer.com不能进行访问,国外镜像访问速度也很慢
如图,系统提示我们
your configuration does not allow to connection to `http://xxxxxxx`,see the https://getcomposer.org/doc/
06-config.md#secure-http for details.
我们可以点击链接 https://getcomposer.org/doc/06-config.md#secure-http 看看;也就是如下内容
Defaults to true. If set to true only HTTPS URLs are allowed to be downloaded via Composer. If you really
absolutely need HTTP ac