Conversation
The breeze-lite support laravel version 12 because it follows the upstream (laravel/breeze): laravel/breeze#451
|
I attempted to install Laravel 12 with Breeze using the installer command The installation ended with error: Script "post-root-package-install" is not defined in this package As a result only /vendor and Breeze directories /src and /stubs were installed. |
|
@Richard2012 Breeze is not a starter kit compatible with the Laravel 12 Installer. You need to manually install it with the commands laravel new my-app
cd my-app
composer require laravel/breeze
pho artisan breeze:install |
|
@Jubeki in this way you will receive an npm error during the install because of vite and laravel-vite-plugin. you have to manually set the versions as above. |
|
@MattiaMarchiorato @Richard2012 I just tried the setup above and it worked without error. If you still have Problems you can try to fix the InstallerCommand in Breeze: https://github.com/laravel/breeze/blob/2.x/src/Console/InstallCommand.php Otherwise create an issue on https://github.com/laravel/framework. Maybe the Laravel Team will make Laravel Breeze compatible. And exactly which commands you are running and which stacks you are choosing. Some other questions: Here a look at my terminal that it worked:
|
|
@Jubeki try with vue and inertiajs you will receive the error during the npm install command. |
|
@MattiaMarchiorato @Jubeki |
|
@Richard2012 Wich stack? Vue and inertiajs still same node issue |
I will not use these as I am installing Bootstrap blade templates. No vite. |
|
This seems to work fine in Laravel 12. Why does the documentation say it only supports 11? Breeze is super helpful for those of us who don't need Vue/Livewire/React (which is most of the internet). |




livewire/livewire: Supports Laravel 12 livewire/livewire#9155inertiajs/inertia-laravel: [1.x] Supports Laravel 12 inertiajs/inertia-laravel#708 [2.x] Supports Laravel 12 inertiajs/inertia-laravel#709laravel/sanctum: Supports Laravel 12 sanctum#556