composer how to update php version using cli code example Example: update composer php version php7.3 -f /usr/local/bin/composer update