composer with version code example
Example 1: composer installed versions
composer show -i
Example 2: composer require with version
composer require vendor/package:version
composer require refinery29/test-util:0.10.2
composer show -i
composer require vendor/package:version
composer require refinery29/test-util:0.10.2