composer set php version

PHP
composer -vvv aboutphp7.3 -f /usr/local/bin/composer updatecomposer require vendor/package:version

composer require refinery29/test-util:0.10.2composer install --ignore-platform-reqs
Source

Also in PHP: