how to downgrade php version from 7.2 to 5.6 in composer code example Example: composer downgrade to version 1 sudo composer self-update --1