PHP Composer version 2

v2 came out on Friday, which is great, but a lot of stuff is breaking for me. How do I downgrade to Composer v1?

Found a way:

- sudo composer self-update --1
1 Like

Hello @thomasedwards!
I’m glad you were able to find this information! Adding a step to set your version to v1 by using - sudo composer self-update --1 would be what I would have suggested as well!

Thanks for following up with a solution. I’m sure this will be helpful for people. :+1:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.