close

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

Hello Guys, How are you all? Hope You all Are Fine. Today I just want to update my composer using composer self-update –2 this command and I am facing following error in my terminal Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 7.3.0” in laravel. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

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

I just want to update my composer using composer self-update –2 this command and I am facing following error in my terminal.

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

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

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

    To Solve Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 7.3.0” Error Easiest and Simple ever solution is just ignore platform requirements. Just run this command. composer install –ignore-platform-reqs and second solution is First of all In you project you can check the platform check file your-project-path/vendor/composer/platform_check.php $issues = array(); Then just remove extra code Or comment it. Add the platform check option in the composer.json config section like this. Now you can run composer update.

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

    To Solve Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 7.3.0” Error Easiest and Simple ever solution is just ignore platform requirements. Just run this command. composer install –ignore-platform-reqs and second solution is First of all In you project you can check the platform check file your-project-path/vendor/composer/platform_check.php $issues = array(); Then just remove extra code Or comment it. Add the platform check option in the composer.json config section like this. Now you can run composer update.

Solution 1: run command with –ignore-platform-reqs

Easiest and Simple ever solution is just ignore platform requirements. Just run this command.

composer install --ignore-platform-reqs

OR

composer update --ignore-platform-reqs

Solution 2: Check php version

First of all In you project you can check the platform check file your-project-path/vendor/composer/platform_check.php

$issues = array();

Then just remove extra code Or comment it. Add the platform check option in the composer.json config section like this.

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

Now you can run

composer update

when composer update run platform_check.php will be deleted and your error will be solved.

Summary

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also, Read

Please Rate Our Solution to Motivate Us For Give Our Best

Leave a Comment