Composer keeps reverting to v1 on Digital Ocean droplet
I have an application running on Digital Ocean and managed by Laravel Forge, and it seems like every time I go to deploy my application I need to SSH into the box and manually invoke composer self-update --2, to update composer to v2.
I would have expected to need to only run this once ever, but it seems like the state of the droplet is being reverted after a period of time.
Has anyone experienced this or have any suggestions for why it could be happening?