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

preview_player
Показать описание


3. Edit PHP Version "php": "^7.3" to "php": "^7.3|^8.0" (In your case you have to check error and according set php version)

4. Run command: “php artisan config:cache”

4. Now open Terminal or VSCode and Go to the folder and hit command “composer install”

6. Now run project using command: “php artisan serve”

Feel Free to comment below if any query,
If you looking forward to solve any error, Feel free to comment below.
If many developer looking for it. We will look forward to create solution video on it.

Stay Connected Stay Subscribe
Like, Share and Subscribe
Keep Learning.

Thank you for watching.

#composerrequirephp8,
#composerrequirephp7or8,
#composerrequirephpversion,
#yourcomposerdependenciesrequireaphpversion=8.0.2,
#yourcomposerdependenciesrequireaphpversion=8.0.0,
#composerrequirephp,
#composerrequirephp7.3,
#composerrequirephp7.2,
Комментарии
Автор

- Root composer.json requires laravel/ui 2.4 -> satisfiable by laravel/ui[v2.4.0]. - laravel/ui v2.4.0 requires php ^7.2.5 -> your php version (8.1.6) does not satisfy that requirement.

shakeeb
Автор

Run composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist

Your requirements could not be resolved to an installable set of packages.
Error: Process completed with exit code 2

IbrahimQadir-pi
Автор

After deleting Vendor also not working it shows the same error for mee like



Problem 1
- laravel/framework[v5.8.0, ..., 5.8.x-dev] require php ^7.1.3 -> your php version (8.1.6) does not satisfy that requirement.
- Root composer.json requires laravel/framework 5.8.* -> satisfiable by laravel/framework[v5.8.0, ..., 5.8.x-dev].

jvdaybydayinnovations
Автор

Problem 1
-mews/captcha[3.2.0, ...3.2.4] require php ^7.2-> You php version (8.1.17) does not satisfy that requirement
Please solve this error

Ash_
Автор

Laravel/framework[v5.8.0, ……, 5.8.xdev] require php ^7.1.3 -> your php version (8.1.5; overridden via config.platform, same as actual) does not satisfy that requirement

trezstudio
Автор

PS C:\xampp\htdocs\dpmis> composer require
./composer.json has been updated
Running composer update barryvdh/laravel-dompdf
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires barryvdh/laravel-dompdf 0.8.2 -> satisfiable by
- barryvdh/laravel-dompdf v0.8.2 requires illuminate/support -> found illuminate/support[v5.1.1, ..., 5.6.x-dev] but these were not loaded, likely because it conflicts with another require.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

usamaumer
Автор

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

already changed it to 9.0 in my composer and vendor folder not available but i still get this error when ever i try to upgrade

jonathanazuonye
Автор

i cant install maatwebsite/excel.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.

anfield
Автор

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

how to solve it

codingworld
Автор

please allow me to ask, how to integrate laravel API with ExpressJs? So I want to fetch data from laravel to express. Is there a way to make the laravel API accessible by express? Best regards

ekiramadhan
Автор

Please hlep me. I need solution to fix.

Problem 1
- Root composer.json requires laravel/ui 1.0 -> satisfiable by laravel/ui[v1.0.0].
- laravel/ui v1.0.0 requires php ^7.1.3 -> your php version (8.1.6) does not satisfy that requirement.

AnLe-yyuq
Автор

hey, it does not work idk why, any idea?

cristianacom
Автор

hi i try to run this but nothing happened

victorynwefo
Автор

help me pls
Root composer.json requires php-ffmpeg/php-ffmpeg ^0.16.0 -> satisfiable by php-ffmpeg/php-ffmpeg[v0.16].


- php-ffmpeg/php-ffmpeg v0.16 requires php ^5.3.9 || ^7.0 -> your php version (8.1.6) does not satisfy that requirement.

ahmed-
Автор

I have same problem but i did not upgrade it

schoolofengineers
Автор

no funciono de ninguna manera, busque por todos lados en internet y nada :crocodicstudio/crudbooster v5.6.0 requires php ^7.2 -> your php version (8.1.6) does not satisfy that requirement.

mrjorge
Автор

Fatal error: Uncaught Error: Failed opening required in
Stack trace:
#0 {main}
thrown in C:\xampp\htdocs\SMS\artisan on line 18

jamesalosi