Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.3.0". You are running 7.2.34. in /var/www/vendor/composer/platform_check.php on line 24 in laravel docker code example

Example 1: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.3.0".

composer install --ignore-platform-reqs

Example 2: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.3.0".

#add to composer.json > config
"platform-check": false,

composer autoload-dump

Tags:

Php Example