尽管有--prefer-dist标志,但更新作曲者依赖项的速度很慢
为什么即使没有更改,我的作曲家依赖关系最多也要花两分钟来更新? 一个流行的建议是添加--prefer-dist标志: php composer.phar update --prefer-dist 但这对我的情况没有影响。以下是我的composer.json文件-我缺少明显的东西吗? { "name": "my-namespace/symfony", "type": "project", "description": "", "require": { "php": ">=5.3.3", "symfony/symfony": "2.3.*", "doctrine/orm": ">=2.2.3,<2.4-dev", "doctrine/doctrine-bundle": "1.2.*", "twig/extensions": "1.0.*", "symfony/assetic-bundle": "2.3.*", "symfony/monolog-bundle": "2.3.*", "sensio/framework-extra-bundle": "2.3.*", "sensio/generator-bundle": "2.3.*", "sensio/distribution-bundle": "2.2.*", "my-namespace/my-bundle": "1.0.*" }, "repositories": [ { "type": "vcs", "url": "http://username:password@git.com/my-bundle.git" } ], "scripts": { …