laravel/jetstream
Official Laravel 11 starter kit for building apps with authentication, teams, profiles, API tokens, and more. Choose Livewire or Inertia stacks and get a robust, production-ready foundation quickly.
Laravel Jetstream is a batteries-included authentication and team management scaffolding solution designed for Laravel applications. It integrates seamlessly with Laravel’s core features (e.g., Eloquent, Blade, Inertia.js, Livewire) and provides:
Key Fit for TPMs:
Misalignment Risks:
Jetstream is highly compatible with Laravel’s stack but requires careful planning for:
Laravel Version Support:
Frontend Stack:
@vitejs/plugin-vue for Inertia).Database Schema:
users with extra columns).Middleware and Routing:
auth, verified, etc.) and routes.| Risk Area | Severity | Mitigation |
|---|---|---|
| Version Mismatches | High | Pin Laravel/Jetstream versions in composer.json; test in a staging environment. |
| Frontend Build Conflicts | Medium | Audit vite.config.js and Tailwind config for overlaps with existing assets. |
| Database Conflicts | High | Review Jetstream’s migrations (users, teams, sessions) before installation. |
| Livewire/Inertia Learning Curve | Medium | Allocate time for team upskilling; leverage Jetstream’s documentation. |
| Customization Complexity | Medium | Plan for overriding Jetstream views/components (e.g., resources/views/auth/...). |
| API vs. Web Duplication | Low | Use Jetstream’s optional API stack (Sanctum/Passport) to avoid redundant logic. |
Scope Clarity:
Customization Needs:
Stack Compatibility:
Performance/Scaling:
team_user pivot table) impact query performance at scale?Maintenance:
Alternatives:
Jetstream is optimized for the following Laravel stack:
| Component | Jetstream Compatibility | Notes |
|---|---|---|
| Laravel Core | 11.x–13.x (v5.x) | PHP 8.4+ required; Laravel 10.x support dropped in v5.0.0. |
| Frontend | Inertia.js 2.x + Vue 3.x / Livewire 3.x | Tailwind CSS mandatory; Vite 7.x default. |
| Authentication | Sanctum (API) / Session (Web) | Optional; can be disabled if not needed. |
| Database | MySQL, PostgreSQL, SQLite | Schema includes users, teams, sessions, password_resets, etc. |
| Testing | Pest 3.x (default) / PHPUnit 10.x | Jetstream includes test stubs. |
| Build Tools | Vite 7.x, Node.js 18+ | Bun support added in v5.3.1. |
| Security | 2FA, Email Verification, CSRF Protection | Built-in; extensible for custom rules. |
Non-Ideal Fit:
composer require laravel/jetstream
php artisan jetstream:install livewire # or "inertia" for SPA
php artisan migrate
.env (e.g., APP_URL, MAIL_* for email verification).tailwind.config.js) if customizing themes.resources/views/vendor/jetstream/.php artisan test) to validate integration.users, teams) with existing schema.users columns).users table but add Jetstream’s teams tables.php artisan jetstream:install api
| Compatibility Check | Action Required |
|---|---|
| Laravel Version | Ensure project uses 11.x–13.x; upgrade if needed. |
| PHP Version | PHP 8.4+ required (v5.4.0+); use php_binary() for dynamic detection. |
| Frontend Framework | Inertia/Livewire required; Blade-only needs customization. |
| Database Schema | Review migrations for conflicts (e.g., users table). |
How can I help you explore Laravel packages today?