When I want to see my Laravel project in localhost, I get the following error message.
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2".
My terminal PHP version is 8.0.2, and my MAMP PHP version is 8.0 (no higher version is available, it has always worked like this). I don't know what else to do. I have already put my composer.json and .lock files at 8.0.2 PHP.
You can use the following to install/update commands if you have an invalid PHP version or are missing a PHP extension.
composer update --ignore-platform-reqs