[Solved] laravel/framework 9.x-dev requires php ^8.0 -> your PHP version (7.4.13) does not satisfy that requirement [closed]


Composer is telling you what is wrong. It wants PHP8 and you offer php7.4, so it doesnt install.

From the comments it also says that laravel 9 is in development. As you’re stuggling with this, I dont recommend using that version and go one back, using 8.

What I recommend doing (and what I’ve been doing lately to a much larger website), is first to run composer update. That way, you update all packages in a sem-ver method (so only minor updates). Deploy that to your server.

Than you can use compser outdated to see what you can update. Do composer update package/name -W (with all dependencies), just one at a time. if you run into a problem, just goto the next one, sometimes after you come back you can still do it.

If you go to packagist.org you can search your package and see what the current versions are. Sometimes you can go up a few mayors, sometimes one, sometimes only minor. It’s a bit of a puzzle.

6

solved laravel/framework 9.x-dev requires php ^8.0 -> your PHP version (7.4.13) does not satisfy that requirement [closed]