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

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone when I am trying to do composer update hyphen hyphen no hyphen script it will show this error whether rootcomposer.json requires PHP uh 7.3 but your PHP version is 8.1 does not satisfy that requirement how we can fix this firstly you have go open your folder of the project in the terminal I can say open Dot then it will automatically open the current project folder here you will see the composer.json file in the project folder you have to open that with the editor now you have to type require now firstly you will see this uh section which include in the PHP version now what I will do is just copy this and and after that I will add this pipe symbol that three percent o and then I will add this again this symbol and then I will set this as eight point zero now uh I will try to compose the update hyphen iPhone no script again you can see these packages are downloading make sure you uh editing the current project composer Json file okay now it is fine we have completed execute in the composer the update command and if this helps you please subscribe to my YouTube channel thank you
Info
Channel: Coffee Programmer
Views: 18,116
Rating: undefined out of 5
Keywords: create composer.json file, difference between composer.json and composer.lock file, composer json file, #rootcomposer.jsonrequiresphp8.0, roots, #rootcomposer.jsonrequiresphp^7.3, composer packages.json, composer, #rootcomposer.jsonrequiresphp^7.2.5, php composer, #rootcomposer.jsonrequiresphpunit/phpunit^9, macos composer, composer macos, composer xampp, composer issue solve, composer update, composer install, install composer, composer laravel, laravel composer
Id: s7wd6o83R1o
Channel Id: undefined
Length: 2min 18sec (138 seconds)
Published: Mon Dec 12 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.