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