laravel/breeze
Laravel Breeze is a lightweight starter kit for Laravel 11.x and earlier, providing simple authentication scaffolding to kickstart new apps quickly. For the latest official Laravel starter kits, see https://laravel.com/starter-kits.
Laravel Breeze is a minimalist, opinionated authentication scaffolding package designed for Laravel applications, offering a lightweight alternative to Jetstream. It aligns well with projects requiring:
Key strengths:
Potential misfits:
| Integration Aspect | Feasibility | Notes |
|---|---|---|
| New Laravel Projects | ⭐⭐⭐⭐⭐ | Zero-config setup via composer require laravel/breeze. |
| Existing Laravel Auth | ⭐⭐⭐⭐ | Can replace custom auth incrementally (migrate controllers/views). |
| API-Only Projects | ⭐⭐⭐⭐ | Sanctum included; Blade/Inertia views optional. |
| Monorepos/Modular Apps | ⭐⭐⭐ | May require path adjustments or custom stack installation. |
| Custom Frontend (Non-Tailwind) | ⭐⭐ | Tailwind is tightly coupled; CSS extraction would be needed. |
| Legacy Laravel (<10) | ⭐⭐ | Compatibility gaps; may need backporting or forks. |
Key integration paths:
breeze:install with the desired stack (e.g., breeze:install inertia).LoginController, RegisteredUserController) and views while keeping middleware/policies.breeze:install api) and ignore Blade/Inertia components.| Risk Area | Severity | Mitigation |
|---|---|---|
| Stack Mismatch | Medium | Validate frontend stack (Blade/Livewire/Inertia) compatibility early. |
| Middleware Conflicts | Low | Breeze auto-registers middleware; conflicts rare unless custom auth exists. |
| Tailwind Dependency | Medium | Extract Tailwind if using a different CSS framework (e.g., Bootstrap). |
| Inertia SSR Complexity | High | Test SSR routes early; debug hydration issues (common in Inertia v2). |
| Database Schema Changes | Low | Uses standard Laravel users table; migrations are idempotent. |
| Deprecation Risk | Low | Actively maintained; Laravel 13+ compatible. |
| Custom Validation Logic | Medium | Extend LoginRequest, RegisterRequest for project-specific rules. |
Critical Questions for TPM:
Laravel Breeze is optimized for Laravel’s ecosystem and excels in the following stacks:
Blade + Tailwind:
Livewire:
Inertia.js (Vue/React):
API-Only (Sanctum):
Non-Fit Scenarios:
composer require laravel/breeze --dev
php artisan breeze:install [stack] # e.g., "inertia", "livewire", or "api"
npm install && npm run dev
php artisan migrate
resources/views/auth.app/Http/Controllers/Auth/RegisteredUserController).app/Http/Kernel.php.LoginController, ForgotPasswordController) to Breeze’s implementations.auth, verified).php artisan breeze:install api
Sanctum::id() and Sanctum::csrfToken() in frontend.| Compatibility Factor | Details |
|---|---|
| Laravel Version | Officially supports Laravel 11–13; backported to 10.x via forks. |
| PHP Version | Requires PHP 8.1+ (Laravel 11+). |
| Database | Uses default users table; no schema changes unless customizing. |
| Frontend Frameworks | Blade, Livewire, Inertia (Vue/React); no Angular/Svelte support. |
| Testing | Pest/PHPUnit tests included; integrates with Laravel’s testing helpers. |
| CI/CD | Lightweight; adds Tail |
How can I help you explore Laravel packages today?