composer show package versions code example Example 1: composer check package version composer show package/name Example 2: composer installed versions composer show -i