how to update php in composer code example
Example 1: composer update
php composer.phar update
Example 2: update composer php version
php7.3 -f /usr/local/bin/composer update
php composer.phar update
php7.3 -f /usr/local/bin/composer update