Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

razu2021's avatar

Stater kit Problem

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 ??

0 likes
12 replies
tykus's avatar

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

1 like
razu2021's avatar

@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 
 



tykus's avatar

Did you check with which laravel like I suggested?

Also, what is your PHP version?

php -v
1 like
Batman55's avatar

@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.

1 like
sahamilton's avatar

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.

1 like
Batman55's avatar

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 
2 likes
HectorOrdonez's avatar

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's avatar

Thank you so much all ..... problem is my local server .

1 like
tykus's avatar

@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.

alsbury's avatar

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.