Hi, I just installed Laravel Herd. By default, the PHP being installed 8.3. I don't understand why it keeps installing Laravel 10.
I had problem before installing Laravel 11 in xampp because the php version that was installed was 8.1.6 and Laravel 11 minimum requirement is 8.2.
So I thought by using Laravel Herd would fix the problem because PHP 8.3 is installed by default.
I cannot also install Laravel via the command line via C:\Users\Name\Herd using composer create-project --prefer-dist laravel/laravel project-name "11". The error I get is this 'Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0'.
I know this is old now, but for everyone looking to solve this issue, this is how i did:
I was using Xamp to work with PHP before jumping to Laravel, so I deleted all paths pointing to Xamp from my system's environment variables.
run PHP -v to check if it is above 8.2 (at this moment, Herd is already installed and PHP version is selected)
Now, I tried to create a new site from Herd GUI, but still get Laravel v10. So I directly ran herd composer create-project laravel/laravel project-name. This installed Laravel v12 and properly set up the project