composer get info about package code example
Example 1: composer check package version
composer show package/name
Example 2: composer install without dependencies
composer install --ignore-platform-reqs
composer show package/name
composer install --ignore-platform-reqs