Home  >  Article  >  Backend Development  >  composer update不更新的问题

composer update不更新的问题

WBOY
WBOYOriginal
2016-06-06 20:46:403210browse

最近composer update命令停滞在Updating dependencies (including require-dev),是什么原因,怎么解决,有国内的repo镜像吗?

版本:Composer version 45fe0124f2dae5ee66da389c82c70323e28f36d6

回复内容:

最近composer update命令停滞在Updating dependencies (including require-dev),是什么原因,怎么解决,有国内的repo镜像吗?

版本:Composer version 45fe0124f2dae5ee66da389c82c70323e28f36d6

网络问题。

用代理吧。

如果是企业用的话,可以用satis自己搭个镜像。

composer 中的很多包的下载地址是在墙外的。

解决方案:
http://composer-proxy.com/

终于出来中国区的镜像,跟大家分享 http://pkg.phpcomposer.com/

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn