composer check version of package code example Example: composer check package version composer show package/name