Laravel Breeze helps you quickly add simple user login and registration to your Laravel app. It gives you a basic starting point with clean code.
Laravel Breeze starter kit
composer require laravel/breeze --dev php artisan breeze:install npm install && npm run dev php artisan migrate
Run these commands in your Laravel project folder.
The breeze:install command sets up routes, views, and controllers for authentication.
composer require laravel/breeze --dev
php artisan breeze:install
npm install && npm run dev
php artisan migrate
This example shows the basic routes Breeze sets up for authentication and a protected dashboard page.
You get working login, registration, and logout with minimal code.
<?php // After installing Breeze, your routes/web.php includes: use Illuminate\Support\Facades\Route; use App\Http\Controllers\DashboardController; Route::get('/', function () { return view('welcome'); }); Route::middleware(['auth'])->group(function () { Route::get('/dashboard', [DashboardController::class, 'index'])->name('dashboard'); }); // The Breeze views provide login, register, and dashboard pages. // Running 'php artisan serve' starts the app. // Visit /register to create a user, then /login to sign in. // After login, /dashboard shows a simple dashboard page.
Breeze uses Blade templates and Tailwind CSS for styling by default.
You can customize the views and controllers Breeze provides to fit your app.
For more features like email verification or social login, consider Laravel Jetstream or Fortify.
Laravel Breeze quickly adds simple user authentication to your app.
It provides clean, minimal code for login, registration, and dashboard.
Great for beginners or small projects needing basic auth features fast.