composer install particular version code example
Example 1: composer require specific version
composer require vendor/package:version
Example 2: composer install package with specific version
composer require PACKAGE_NAME "PACKAGE_VERSION"
composer require vendor/package:version
composer require PACKAGE_NAME "PACKAGE_VERSION"