Why is PHP Composer so slow?

前端 未结 13 2023
攒了一身酷
攒了一身酷 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:38

    In my case, the composer version i was running backdated. After updated the composer version itself the problem was gone.

    To update the composer version run

    composer self-update
    

    and then require the composer package and you're done.

    composer require ""
    

提交回复
热议问题