composer use version 1 code example
Example 1: composer installed versions
composer show -i
Example 2: composer require specific version
composer require vendor/package:version
composer show -i
composer require vendor/package:version