composer change a package version code example
Example: composer require with version
composer require vendor/package:version
composer require refinery29/test-util:0.10.2
composer require vendor/package:version
composer require refinery29/test-util:0.10.2