composer set version code example
Example 1: composer install ignore platform reqs
composer install --ignore-platform-reqs
Example 2: composer require with version
composer require vendor/package:version
composer require refinery29/test-util:0.10.2
Example 3: php composer update
php composer.phar update