Can you just upgrade your PHP in MAMP?
8.0.0 for Laravel 9
I am using MAMP Pro 6.3.
php composer.phar create-project laravel/laravel first-app Creating a "laravel/laravel" project at "./first-app" Info from https://repo.packagist.org: #StandWithUkraine Installing laravel/laravel (v9.0.0)
- Downloading laravel/laravel (v9.0.0)
- Installing laravel/laravel (v9.0.0): Extracting archive Created project in /Users/username/www/laravel/first-app
@php -r "file_exists('.env') || copy('.env.example', '.env');" Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.
Problem 1 - laravel/framework[v9.0.0-beta.1, ..., 9.x-dev] require php ^8.0.2 -> your php version (8.0.0) does not satisfy that requirement. - Root composer.json requires laravel/framework ^9.0 -> satisfiable by laravel/framework[v9.0.0-beta.1, ..., 9.x-dev].
According to this - https://laravel.com/docs/9.x/releases - minimum version required is 8.0 - and I have 8.0.0 - composer says 8.0.2 is minimum required.
So do I need to contact MAMP PRO to update their PHP 8 version ?
Please or to participate in this conversation.