dump all composer package code example
Example 1: composer list packages
composer show -i //local packages
composer global show -i //global packages
Example 2: composer install package with specific version
composer require PACKAGE_NAME "PACKAGE_VERSION"