close

[Fixed] Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 7.3.0”

Today We are Going To Solve Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 7.3.0” in laravel. Here we will Discuss All Possible Solutions and How this error Occurs So let’s get started with this Article.

How to Fix Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 7.3.0” Error?

  1. How to Fix Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 7.3.0” Error?

    To Fix Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 7.3.0” Error just Add “platform-check”: false. Follow this steps to solve your error: First of all Add “platform-check”: false this to yur composer.json file's config object. And after it run autoload and run the below command: php artisan config:cache Then just run composer dump-autoload in your terminal.

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

    To Fix Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 7.3.0” Error just Add --ignore-platform-reqs. To solve this error you have to add --ignore-platform-reqs option to your composer install/composer update  By doing this you can ignore all platform requirements. And you can solve your problem.

Solution 1 : Add “platform-check”: false

Follow this steps to solve your error:

First of all Add “platform-check”: false this to yur composer.json file’s config object. And after it run autoload and run the below command:

php artisan config:cache

Then just run composer dump-autoload in your terminal.

Solution 2 : Add --ignore-platform-reqs

To solve this error you have to add --ignore-platform-reqs option to your composer install/composer update 

By doing this you can ignore all platform requirements. And you can solve your problem.

Conclusion

So these were all possible solutions to this error. I hope your error has been solved by this article. In the comments, tell us which solution worked? If you liked our article, please share it on your social media and comment on your suggestions. Thank you.

Also Read This Solutions

Leave a Comment