@yp0408

Are you sure you want to delete the question?

Leaving a resolved question undeleted may help others!

Laravelのインストールがうまく行きません

解決したいこと

Laravelのインストールをcomposerから実施しようとしているのですが、うまく行きません。
phpのバージョンが関係してそうなのですが、どなたかご教示頂けませんでしょうか?
当方初心者です。

発生している問題・エラー

Changed current directory to /Users/satoyuto/.composer
Cannot use laravel/installer's latest version v5.0.2 as it requires php ^8.1 which is not satisfied by your platform.
./composer.json has been updated
Running composer update laravel/installer
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating autoload files
11 packages you are using are looking for funding.
Use the composer fund command to find out more!
No security vulnerability advisories found
Using version ^4.5 for laravel/installer

0 likes

1Answer

PHPのバージョンを8.1以上にする必要があるのでは?

Cannot use laravel/installer's latest version v5.0.2 as it requires php ^8.1 which is not

2Like

Comments

  1. クローズしてるけれど、結局のところ、どのように対処したんですか?

Your answer might help someone💌