Skip to content

Commit a2f48a3

Browse files
[10.x] Adds Breeze Livewire stack (laravel#9051)
* Adds Breeze Livewire stack * formatting --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent d8f5c00 commit a2f48a3

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

Diff for: authentication.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ And, if you would like to get started quickly, we are pleased to recommend [Lara
123123

124124
First, you should [install a Laravel application starter kit](/docs/{{version}}/starter-kits). Our current starter kits, Laravel Breeze and Laravel Jetstream, offer beautifully designed starting points for incorporating authentication into your fresh Laravel application.
125125

126-
Laravel Breeze is a minimal, simple implementation of all of Laravel's authentication features, including login, registration, password reset, email verification, and password confirmation. Laravel Breeze's view layer is made up of simple [Blade templates](/docs/{{version}}/blade) styled with [Tailwind CSS](https://tailwindcss.com). Breeze also offers an [Inertia](https://inertiajs.com) based scaffolding option using Vue or React.
126+
Laravel Breeze is a minimal, simple implementation of all of Laravel's authentication features, including login, registration, password reset, email verification, and password confirmation. Laravel Breeze's view layer is made up of simple [Blade templates](/docs/{{version}}/blade) styled with [Tailwind CSS](https://tailwindcss.com). Additionally, Breeze provides scaffolding options based on [Livewire](https://livewire.laravel.com) or [Inertia](https://inertiajs.com), with the choice of using Vue or React for the Inertia-based scaffolding.
127127

128128
[Laravel Jetstream](https://jetstream.laravel.com) is a more robust application starter kit that includes support for scaffolding your application with [Livewire](https://livewire.laravel.com) or [Inertia and Vue](https://inertiajs.com). In addition, Jetstream features optional support for two-factor authentication, teams, profile management, browser session management, API support via [Laravel Sanctum](/docs/{{version}}/sanctum), account deletion, and more.
129129

Diff for: starter-kits.md

+17-3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- [Laravel Breeze](#laravel-breeze)
55
- [Installation](#laravel-breeze-installation)
66
- [Breeze & Blade](#breeze-and-blade)
7+
- [Breeze & Livewire](#breeze-and-livewire)
78
- [Breeze & React / Vue](#breeze-and-inertia)
89
- [Breeze & Next.js / API](#breeze-and-next)
910
- [Laravel Jetstream](#laravel-jetstream)
@@ -20,9 +21,7 @@ While you are welcome to use these starter kits, they are not required. You are
2021

2122
[Laravel Breeze](https://github.com/laravel/breeze) is a minimal, simple implementation of all of Laravel's [authentication features](/docs/{{version}}/authentication), including login, registration, password reset, email verification, and password confirmation. In addition, Breeze includes a simple "profile" page where the user may update their name, email address, and password.
2223

23-
Laravel Breeze's default view layer is made up of simple [Blade templates](/docs/{{version}}/blade) styled with [Tailwind CSS](https://tailwindcss.com). Or, Breeze can scaffold your application using Vue or React and [Inertia](https://inertiajs.com).
24-
25-
Breeze provides a wonderful starting point for beginning a fresh Laravel application and is also a great choice for projects that plan to take their Blade templates to the next level with [Laravel Livewire](https://livewire.laravel.com).
24+
Laravel Breeze's default view layer is made up of simple [Blade templates](/docs/{{version}}/blade) styled with [Tailwind CSS](https://tailwindcss.com). Additionally, Breeze provides scaffolding options based on [Livewire](https://livewire.laravel.com) or [Inertia](https://inertiajs.com), with the choice of using Vue or React for the Inertia-based scaffolding.
2625

2726
<img src="https://laravel.com/img/docs/breeze-register.png">
2827

@@ -69,6 +68,21 @@ Next, you may navigate to your application's `/login` or `/register` URLs in you
6968
> **Note**
7069
> To learn more about compiling your application's CSS and JavaScript, check out Laravel's [Vite documentation](/docs/{{version}}/vite#running-vite).
7170
71+
<a name="breeze-and-livewire"></a>
72+
### Breeze & Livewire
73+
74+
Laravel Breeze also offers [Livewire](https://livewire.laravel.com) scaffolding. Livewire is a powerful way of building dynamic, reactive, front-end UIs using just PHP.
75+
76+
Livewire is a great fit for teams that primarily use Blade templates and are looking for a simpler alternative to JavaScript-driven SPA frameworks like Vue and React.
77+
78+
To use the Livewire stack, you may select the Livewire frontend stack when executing the `breeze:install` Artisan command. After Breeze's scaffolding is installed, you should run your database migrations:
79+
80+
```shell
81+
php artisan breeze:install
82+
83+
php artisan migrate
84+
```
85+
7286
<a name="breeze-and-inertia"></a>
7387
### Breeze & React / Vue
7488

0 commit comments

Comments
 (0)