update php using composer code example
Example 1: composer install without dependencies
composer install --ignore-platform-reqs
Example 2: update composer php version
php7.3 -f /usr/local/bin/composer update
composer install --ignore-platform-reqs
php7.3 -f /usr/local/bin/composer update