Answers for "root composer.json requires php ^7.2.5 but your php version (8.1.3)"

PHP
44

Root composer.json requires php ^7.2.5 but your php version (8.0.6) does not satisfy that requirement.

composer install --ignore-platform-reqs
Posted by: Guest on December-03-2019
4

Root composer.json requires php ^7.2.5 but your php version (8.0.3) does not satisfy that require

It's becouse in your project in composer.json file you have:

"require": {
    "php": ">=7.3",
    .....
},
Try to update this requirement to:

"require": {
    "php": "^7.3|^8.0",
    .....
},
Posted by: Guest on September-28-2021

Code answers related to "root composer.json requires php ^7.2.5 but your php version (8.1.3)"

Browse Popular Code Answers by Language