composer install version code example
Example 1: composer self update command
composer self-update
Example 2: update packages composer global
composer global update
Example 3: upgrading composer globally on windows
php composer.phar self-update
Example 4: composer installed versions
composer show -i
Example 5: composer require with version
composer require vendor/package:version
composer require refinery29/test-util:0.10.2
Example 6: composer install without dependencies
composer install --ignore-platform-reqs