Sunday, October 23, 2022

FIX Composer detected issues in your platform:

 Your Composer dependencies require a PHP version ">= 7.3.0"

Already installed the correct php version:

Then you can fix using:


  1. TIPS

    Add this lines in composer.json file:

    {
        "config": {
    
            "platform-check": false
        }
    }
    

    Or set the version:

    {
        "config": {
    
            "platform": {
                "php": "7.1.0"
            }
        }
    }
    
  2. run php artisan config:cache

  3. then run composer dump-autoload in terminal

     4. rm -rf vendor

    5. composer install

No comments:

Post a Comment