Are you using Laravel Herd? You probably are using it'sversion of the Laravel Installer, rather than the one installed globally
which laravel
// some path to /Herd/bin/laravel
If yes, then check for, and update, Laravel Herd
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
composer create-project laravel/laravel my-project after install laravel12 i want to install starter kit , its posible or not ?
composer global require laravel/installer
laravel new my-app
composer global update laravel/installer
i will try this .. but not update to laravel12 how to solve this problem ??
Are you using Laravel Herd? You probably are using it'sversion of the Laravel Installer, rather than the one installed globally
which laravel
// some path to /Herd/bin/laravel
If yes, then check for, and update, Laravel Herd
@tykus dear i try to use this command line . insatall laravel 5.8 or something .. but not update 5.8 to 12
composer global require laravel/installer
composer global update laravel/installer
laravel new my-app // its working but old version
Did you check with which laravel like I suggested?
Also, what is your PHP version?
php -v
@razu2021 Like @tykus said, if you are using Herd, you are using the version of laravel/installer that Herd provides. Running composer global require/update will not update the version of the package Herd uses.
I just updated Herd to the latest version (1.25.0) and am still on Laravel Installer 5.11.1.
Check the version of the installer by typing laravel -V on the cli. It should be 5.12.*. If not you will have to update the laravel installer via composer. I had to do composer global update laravel/installer:5.12.1 -W to install all the dependencies. Then check laravel -V to make sure you are on the latest version.
Try this. Since there are not supposed to be any major breaking changes, this may work.
composer create-project laravel/laravel
composer require laravel/breeze --dev
php artisan breeze:install
After running breeze:install you will get a prompt of which stack to install:
● Blade with Alpine │
│ ○ Livewire (Volt Class API) with Alpine │
│ ○ Livewire (Volt Functional API) with Alpine │
│ ○ React with Inertia │
│ ○ Vue with Inertia │
│ ○ API only
This worked.
I find it very frustrating that the official laravel starter kit video shows incorrect info. Also the fact that Jeffrey Way's tutorial about laravel with inertia, which is just 3 years old, is already outdated.
@razu2021 Here is the best solution to your problem. I was having some issues with other things and this seems to fix those. Although it still will not use your globally installed laravel new command. It will still default to the Herd installed version, which is annoying.
@Batman55 thank you so much
Thank you so much all ..... problem is my local server .
@razu2021 was it ever not your local server? Or, are you in the habit on running laravel new on a production server??? It was either the wrong binary, or an incompatible PHP version to run the latest installer.
I had the same issue. The Laravel installer on my machine was 4.5. Uninstalling and reinstalling gave me 4.5. Manual installation with composer global require laravel/installer:5.12.1 -W as sahamilton suggested got me going. Thanks!
Please or to participate in this conversation.