composer直接下载是特别慢的,拿ci框架为例,看下图:
注意框里的那一段:
"repositories": { "packagist": { "type": "composer", "url": "https://packagist.phpcomposer.com" }
复制到composer.json里,再次运行速度就很快啦!