解决composer install 卡住的问题

Posted chengfengchi

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决composer install 卡住的问题相关的知识,希望对你有一定的参考价值。

执行 php composer.phar install 提示

Loading composer repositories with package information
Updating dependencies (including require-dev)

1.  根本原因: 下载源在国外,无法正常下载。

2. 更改为国内下载站,执行如下命令:

php  composer.phar config repo.packagist composer https://packagist.phpcomposer.com

以上是关于解决composer install 卡住的问题的主要内容,如果未能解决你的问题,请参考以下文章