解决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

原文地址:https://www.cnblogs.com/chengfengchi/p/12696110.html