check composer version installed code example Example 1: check composer php version composer -vvv about Example 2: composer installed versions composer show -i