Laravel Fortify

Laravel Fortify

Open Source

Headless, official authentication backend for Laravel.

Authentication

Published 27 September 2026

Part ofLaravel Laravel

Scores

Popularity
0/5
Learning Curve
0/5
Flexibility
0/5
Performance
0/5
Portability
0/5

About Laravel Fortify

Laravel Fortify is Laravel's official headless authentication backend, maintained by the Laravel team itself. It implements the routes and controllers for registration, login, password reset, email verification, password confirmation, and two-factor authentication, but ships no views at all, leaving the frontend entirely up to the application.

That headless design is why Fortify powers Laravel's official starter kits: the React, Svelte, Vue, and Livewire kits all use it for authentication and supply their own pages on top. It is equally the natural choice for a team that wants Laravel's official auth flows behind a custom Blade, Inertia, or SPA frontend. Two-factor authentication uses TOTP codes from any authenticator app, with recovery codes and optional confirmation before 2FA is enabled.

Because it only adds the routes and controllers Laravel Auth does not provide out of the box, Fortify builds on the framework's existing guard and provider system rather than introducing a separate one. Features are switched on and off in config/fortify.php, and user creation and password reset logic live in plain action classes inside the application, so a project can adopt just the pieces it needs, like 2FA alone.

Key Features

  • Registration, login, and password-reset routes with no bundled views
  • TOTP two-factor authentication with recovery codes and confirmation
  • Email verification and password confirmation flows
  • Features toggled in config/fortify.php
  • Customisable action classes for user creation and password reset
  • Built-in login rate limiting
  • Authentication backend of Laravel's React, Svelte, Vue, and Livewire starter kits

Pros

  • Official Laravel package, stays in step with framework releases
  • Headless by design, so it works equally well with Blade, Inertia, or a separate SPA
  • Default backend of every official starter kit, so it is well documented and widely used
  • Individual features like 2FA can be adopted without the rest of the package

Cons

  • No views included; a frontend has to be built or come from a starter kit
  • Overlaps with Sanctum for API/token auth, so a project may need both for different purposes
  • Configuration surface is large for a project that only wants a simple login form

Laravel Fortify Pricing

Open Source

Tech Stacks with Laravel Fortify

HTMX + Laravel

Project

A PHP stack combining Laravel's Blade templating with HTMX for dynamic interactions. Server returns Blade-rendered HTML fragments that HTMX swaps into the page. Familiar territory for PHP developers wanting modern interactivity.

Frontend

Backend

Programming

Databases

Hosting

Database:
Deploy on:
Authentication add-on:
CI/CD add-on:
Containerization add-on:
Observability add-on:
Email add-on:
Payments add-on:
Styling add-on:
Interactivity add-on:
Analytics add-on:

Laravel Starter

Project

PHP web application built with Laravel, the batteries-included framework, with Blade templates.

Database:
Deploy on:
Authentication add-on:
CI/CD add-on:
Containerization add-on:
Observability add-on:
Email add-on:
Payments add-on:
Styling add-on:
Analytics add-on:

Tools Related to Laravel Fortify

Part of(1)

Alternatives to Laravel Fortify(1)

For projects that only need Laravel's own guards and providers without a headless registration/2FA backend, the built-in Laravel Auth system is the lighter-weight alternative to Fortify.

Learning Resources

No resources yet — check back soon.

Details

Maintained
Yes
Primary language
PHP
Domain
Auth
GitHub stars
1.8k
Stars updated
2026-09-23