Why is PHP Composer so slow?

前端 未结 13 2000
攒了一身酷
攒了一身酷 2021-01-29 19:03

Why is PHP Composer so slow when all I do is init a project with zero dependencies? Here are the commands I run:

composer init

13条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-29 19:29

    In case, If you have deleted your composer.lock file, and then gone for composer install it gets too slow to download dependencies. If this is the case, use composer update command and then it may help you or others.

提交回复
热议问题