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