โœจ Laravel Starter Kit

Build Faster with Laravel Jetstream

A beautifully designed application scaffolding for Laravel. Complete with login, registration, email verification, two-factor authentication, session management, API support via Laravel Sanctum, and optional team management.

Laravel 10/11 Livewire Inertia.js Tailwind CSS Sanctum
01

What is Jetstream?

Jetstream is Laravel's official application starter kit. Instead of starting with a blank Laravel installation, Jetstream provides a complete, production-ready starting point including the entire user authentication flow, profile management, and optional team management features. It uses Tailwind CSS for styling and your choice of Livewire or Inertia.js for the frontend.

Laravel
PHP Backend
+
Jetstream
Scaffolding
=
Full App
Auth, Teams, API

What's Included Out of the Box

๐Ÿ” Login / Register
๐Ÿ“ง Email Verification
๐Ÿ”‘ Password Reset
๐Ÿ“ฑ Two-Factor Auth
๐Ÿ“ธ Profile Photos
๐Ÿ‘ฅ Team Management
๐Ÿ”‘ API Tokens (Sanctum)
๐ŸŒ™ Dark Mode
02

Installation & Setup

Jetstream is installed via Composer into a fresh Laravel application. You'll choose your preferred frontend stack (Livewire or Inertia) and whether you need team features during installation.

Step 1: Create a fresh Laravel project

bash
composer create-project laravel/laravel jetstream-app
cd jetstream-app

Step 2: Install Jetstream

bash
composer require laravel/jetstream

Step 3: Install with Livewire (recommended for beginners)

bash
php artisan jetstream:install livewire
# Add --teams to enable team management
php artisan jetstream:install livewire --teams

Step 4: Install with Inertia.js (Vue or React)

bash
php artisan jetstream:install inertia
# For React instead of Vue:
php artisan jetstream:install inertia --react

Step 5: Finalize installation

bash
npm install && npm run build
php artisan migrate
โœ…

Visit http://your-app.test and you'll see a fully styled login/register page ready to use.

03

Choosing Livewire vs Inertia

FeatureLivewireInertia.js
LanguagePHP + BladeVue / React + API
Learning CurveLow (stays in Laravel)Medium (JS framework needed)
SPA FeelPartial (Turbo-like)โœ“ Full SPA
SEOโœ“ Server-renderedRequires SSR setup
04

Authentication & 2FA

Jetstream scaffolds all authentication views and logic. Two-factor authentication can be enabled per user from the profile page. The UI and controllers are fully customizable.

๐Ÿ” Login page preview

Welcome back

Sign in to your account

05

Team Management

When installed with --teams, Jetstream adds multi-tenancy support. Every user belongs to a personal team and can create additional teams. Team members have roles (admin, editor) and permissions.

phpTeam model usage
// Get current user's teams
$teams = auth()->user()->allTeams();

// Check team role
if (auth()->user()->hasTeamRole($team, 'admin')) {
    // User is admin of this team
}
06

Profile Management

Jetstream includes profile photo upload, password updates, browser session management, and account deletion โ€” all pre-built and ready to use.

๐Ÿ’ก

Profile photos are stored using Laravel's filesystem. Configure FILESYSTEM_DISK in your .env to use S3 or another driver.

07

API & Sanctum Integration

Jetstream uses Laravel Sanctum to provide first-party API token management. Users can generate personal access tokens directly from the UI.

phproutes/api.php
Route::middleware('auth:sanctum')->get('/user', function (Request $request) {
    return $request->user();
});
08

Customizing Jetstream Views

You can publish Jetstream's components to your own application to modify them. This is essential for branding or changing behavior.

bash
# Publish Livewire components
php artisan vendor:publish --tag=jetstream-views

# Publish Inertia components
php artisan vendor:publish --tag=jetstream-inertia
09

Dark Mode

Jetstream supports Tailwind's dark mode out of the box. Users can toggle between light and dark mode from their profile settings or the navigation bar.

๐ŸŒ™Dark mode toggle
Dashboard๐ŸŒ™ Dark Mode

Content adapts automatically.

10

Best Practices & Architecture

๐Ÿ“ฆ

Publish early

Publish views and configs before editing to avoid upgrade conflicts.

โšก

Leverage Teams

Use team roles and permissions instead of building custom RBAC from scratch.

๐Ÿ”’

Enable 2FA

Two-factor authentication is built-in โ€” activate it for all admin users.

๐Ÿงช

Test your customizations

Jetstream includes feature tests; extend them when you modify actions.

๐Ÿ“š Official Resources

Laravel Jetstream Documentation โ€” The official guide with installation steps and customization tutorials.