Why updating of dependencies in composer is so slow?

后端 未结 5 744
夕颜
夕颜 2021-01-30 06:31

I am using composer (http://getcomposer.org/) to manage installed bundles in the Symfony2 (symfony v 2.1.3). Version of the composer is de3188c.

5条回答
  •  走了就别回头了
    2021-01-30 06:51

    Try to specify a version for each dependency in composer.json and use the option --prefer-dist when calling composer. It will download ZIP files from the repositories (if available) instead of the single files.

    php composer.phar install --prefer-dist
    

提交回复
热议问题