Why is PHP Composer so slow?

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

    If any of the previous answers don't work, check if your firewall allows for TCP_OUT on port 9418.

    My firewall security was too sharp. This caused Composer to take so long, I never got any timeout or indication the port was blocked.

提交回复
热议问题