1

如下。实在让人无奈啊。我使用的是yii2的框架,然后需要安装一个依赖项目

composer require --prefer-dist mongosoft/yii2-upload-behavior "*"

composer ..........
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Reading bower.json of bower-asset/jquery (2.1.3)
Reading bower.json of bower-asset/jquery (2.1.2)
Reading bower.json of bower-asset/jquery (2.1.1)
Reading bower.json of bower-asset/jquery (2.1.0)
Reading bower.json of bower-asset/jquery (2.0.3)
Reading bower.json of bower-asset/jquery (2.0.2)
Reading bower.json of bower-asset/jquery (2.0.1)
Reading bower.json of bower-asset/jquery (2.0.0)
Reading bower.json of bower-asset/jquery (1.11.2)
Reading bower.json of bower-asset/jquery (1.11.1)
Reading bower.json of bower-asset/jquery (1.11.0)
Reading bower.json of bower-asset/jquery (1.10.2)
Reading bower.json of bower-asset/jquery (1.10.1)
Reading bower.json of bower-asset/jquery (1.10.0)
Reading bower.json of bower-asset/jquery (1.9.1)
Reading bower.json of bower-asset/jquery (1.9.0)
Reading bower.json of bower-asset/jquery (1.8.3-patch1)
Reading bower.json of bower-asset/jquery (1.8.3)
Reading bower.json of bower-asset/jquery (1.8.2)
Reading bower.json of bower-asset/jquery (1.8.1)
Reading bower.json of bower-asset/jquery (1.8.0)
Reading bower.json of bower-asset/jquery.inputmask (3.1.61)
Reading bower.json of bower-asset/jquery.inputmask (3.1.60)
Reading bower.json of bower-asset/jquery.inputmask (3.1.59)
Reading bower.json of bower-asset/jquery.inputmask (3.1.58)
Reading bower.json of bower-asset/jquery.inputmask (3.1.57)
Reading bower.json of bower-asset/jquery.inputmask (3.1.56)
Reading bower.json of bower-asset/jquery.inputmask (3.1.55)
Reading bower.json of bower-asset/jquery.inputmask (3.1.54)
Reading bower.json of bower-asset/jquery.inputmask (3.1.53)
Reading bower.json of bower-asset/jquery.inputmask (3.1.52)
Reading bower.json of bower-asset/jquery.inputmask (3.1.51)
Reading bower.json of bower-asset/jquery.inputmask (3.1.50)
Reading bower.json of bower-asset/jquery.inputmask (3.1.49)
Reading bower.json of bower-asset/jquery.inputmask (3.1.48)
Reading bower.json of bower-asset/jquery.inputmask (3.1.47)
Reading bower.json of bower-asset/jquery.inputmask (3.1.46)
Reading bower.json of bower-asset/jquery.inputmask (3.1.45)
Reading bower.json of bower-asset/jquery.inputmask (3.1.44)
Reading bower.json of bower-asset/jquery.inputmask (3.1.43)
Reading bower.json of bower-asset/jquery.inputmask (3.1.42)
Reading bower.json of bower-asset/jquery.inputmask (3.1.41)
Reading bower.json of bower-asset/jquery.inputmask (3.1.40)
Reading bower.json of bower-asset/jquery.inputmask (3.1.39)
Reading bower.json of bower-asset/jquery.inputmask (3.1.38)
Reading bower.json of bower-asset/jquery.inputmask (3.1.37)
Reading bower.json of bower-asset/jquery.inputmask (3.1.36)
Reading bower.json of bower-asset/jquery.inputmask (3.1.35)
Reading bower.json of bower-asset/jquery.inputmask (3.1.34)
Reading bower.json of bower-asset/jquery.inputmask (3.1.33)
Reading bower.json of bower-asset/jquery.inputmask (3.1.32)
Reading bower.json of bower-asset/jquery.inputmask (3.1.31)
Reading bower.json of bower-asset/jquery.inputmask (3.1.30)
Reading bower.json of bower-asset/jquery.inputmask (3.1.29)
Reading bower.json of bower-asset/jquery.inputmask (3.1.28)
Reading bower.json of bower-asset/jquery.inputmask (3.1.27)
Reading bower.json of bower-asset/jquery.inputmask (3.1.26)
Reading bower.json of bower-asset/jquery.inputmask (3.1.25)
Reading bower.json of bower-asset/jquery.inputmask (3.1.24)
Reading bower.json of bower-asset/jquery.inputmask (3.1.23)
Reading bower.json of bower-asset/jquery.inputmask (3.1.22)
Reading bower.json of bower-asset/jquery.inputmask (3.1.21)
Reading bower.json of bower-asset/jquery.inputmask (3.1.15)
Reading bower.json of bower-asset/jquery.inputmask (3.1.14)
Reading bower.json of bower-asset/jquery.inputmask (3.1.13)
Reading bower.json of bower-asset/jquery.inputmask (3.1.12)
Reading bower.json of bower-asset/jquery.inputmask (3.1.0)
Reading bower.json of bower-asset/punycode (v1.3.2)
Reading bower.json of bower-asset/punycode (v1.3.1)
Reading bower.json of bower-asset/punycode (v1.3.0)
Reading bower.json of bower-asset/yii2-pjax (v2.0.2)
Reading bower.json of bower-asset/yii2-pjax (v2.0.1)
Reading bower.json of bower-asset/jquery (1.7.2)
Reading bower.json of bower-asset/jquery (1.7.1)
Reading bower.json of bower-asset/jquery (1.7.0)
Reading bower.json of bower-asset/jquery (1.7)
Reading bower.json of bower-asset/bootstrap (v3.3.2)
Reading bower.json of bower-asset/bootstrap (v3.3.1)
Reading bower.json of bower-asset/bootstrap (v3.3.0)
Reading bower.json of bower-asset/bootstrap (v3.2.0)
Reading bower.json of bower-asset/bootstrap (v3.1.1)
Reading bower.json of bower-asset/bootstrap (v3.1.0)
Reading bower.json of bower-asset/typeahead.js (v0.10.5)
Reading bower.json of bower-asset/typeahead.js (v0.10.4)
Reading bower.json of bower-asset/typeahead.js (v0.10.3)
Reading bower.json of bower-asset/typeahead.js (v0.10.2)
Reading bower.json of bower-asset/typeahead.js (v0.10.1)
Reading bower.json of bower-asset/typeahead.js (v0.10.0)
^C终止批处理操作吗(Y/N)? y

未设置任何代理
http://pkg.phpcomposer.com/repo/packagist/
http://packagist.cn/
http://pkg.uselaravel.com/repo/packagist/

我尝试了以上站点(含镜像),没有一个20分钟能完成。实在太让人崩溃了啊。
可是我只是去安装一个依赖,并且这个依赖应该不需要jquery的 1.8.0 - 2.1.3 的所有版本吧。 请问怎么能减少这些不需要的请求而加速composer的效率呢?

xjdata 198
2015-02-14 提问
1 个回答

撰写答案

你可能感兴趣的

推广链接