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

Updated at 23-Feb-2022, By samar

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

Through the use of the programming language, we will work together to solve the "Root composer.json requires php ^7.3 but your php version (8.0.0) does not satisfy that requirement" puzzle in this lesson.

You have to use "php": "^7.3|^8.0", in composer.json file under require to remove the Root composer.json requires php ^7.3 but your php version (8.0.0) does not satisfy that requirement error while using Laravel project.
  • Choose php version ^7.3 or ^8.0 in composer json to remove Root composer.json requires php ^7.3 but your php version (8.0.0) does not satisfy that requirement

    --PATH composer.json
    "require": {
        "php": "^7.3|^8.0",
    

Back to code snippet queries related laravel