downgrade composer to 1.x code example Example: composer downgrade to version 1 sudo composer self-update --1