how to change composer version code example
Example 1: upgrade composer version
composer self-update
Example 2: update composer on windows
php composer.phar self-update
Example 3: composer require with version
composer require vendor/package:version
composer require refinery29/test-util:0.10.2