MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

Composer update fails with composer.json php version ^7.1.3

Hi geeks, yesterday i tried to run a command in my laravel project ver 5.8 then it’s showing two issue in my git bash. my php version in composer.json file is “^7.1.3”.

Composer.json require block with php version ^7.1.3 highlighted alongside Laravel 5.8 dependencies
php version in composer.json file
 Problem 1
    - Root composer.json requires php ^7.1.3 but your php version (8.0.0) does not satisfy that requirement.
  Problem 2
    - laravel/framework[v5.8.0, ..., 5.8.x-dev] require php ^7.1.3 -> your php version (8.0.0) does not satisfy that requirement.
    - Root composer.json requires laravel/framework 5.8.* -> satisfiable by laravel/framework[v5.8.0, ..., 5.8.x-dev].Code language: JavaScript (javascript)
Composer update error: root composer.json requires php ^7.1.3 but installed PHP 8.0.0 does not satisfy it
Composer update command issue

whenever you find these type of issue then try below command to solve the issue: if sometimes your issue will not resolve by below command then please comment us for more solution on this type of issue.

composer install --ignore-platform-reqs

For more understanding on these issues please read below references:

Reference 1

Reference 2

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
MotoShare.in provides the perfect two-wheeler for every occasion—daily commuting, weekend escapes, tourist exploration, or test-riding your dream bike. Simplify your mobility with us!

Related Posts

Xampp Troubleshooting Guide

Log Levels of Apache, MySql, PHPMyAdmin, PHP, Composer Apache MySQL PHPMyAdmin PHPMyAdmin’s log level is primarily controlled by the PHP configuration, as it’s a PHP application. PHP…

Read More

Dependency Management Tools

Have you ever struggled with managing dependencies in your project? Fear not, for there are many tools available to make your life easier. In this blog post,…

Read More

What is Composer and Its user guide & Commands

Composer is a dependency management tool for PHP. It allows developers to declare the libraries or packages their project depends on and manages (downloads, installs, updates) them…

Read More

PHP Tutorials: List of command line tools in PHP

PHP provides a number of command line tools that can be used for various purposes such as testing, debugging, and building applications. Here is a list of…

Read More

Composer Install and Configuration Guide

Windows: Composer Install and Configuration Guide Prerequisite – XAMPP Step 1 – Download Composer package https://getcomposer.org/download/ Step 2 – Click on Composer-Setup.exe to start installer Step 3…

Read More

What is Composer and How to Install Composer?

In my previous article I have explained about the best concept about Laravel in which I mentions what is Laravel and many things about its feature. if…

Read More