# laravel/fortify

Backend controllers and scaffolding for Laravel authentication.

Repository: https://github.com/laravel/fortify
Canonical: https://ross.abutalabs.com/products/fortify
Homepage: https://laravel.com/docs/fortify
Language: PHP
License: MIT
License Family: permissive
Topics: laravel, auth
Last push: 2026-08-25T14:35:46+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 2193, "days_push": 8, "days_rel": 8, "gap_med": 14, "n_releases_24m": 34}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1755, forks 333 (observed 2026-08-28T04:05:32.119553+00:00)

## What it is
Laravel Fortify is a frontend-agnostic authentication backend for Laravel that registers the routes and controllers needed for login, registration, password reset, email verification, two-factor authentication, and passkeys. It provides no UI of its own, so it is meant to be paired with a custom frontend that calls its endpoints.

## Use cases
- add authentication to a Laravel app without a prebuilt UI
- implement headless login and registration endpoints for a SPA or mobile app
- enable two-factor authentication in Laravel
- add passkey (WebAuthn) authentication to Laravel
- set up password reset and email verification flows
- build a custom auth UI on top of Laravel's auth backend

## When to choose
- you want full control over the authentication UI while reusing Laravel's auth logic
- you are building an API or SPA backend that needs auth endpoints
- you need two-factor authentication or passkeys in a Laravel app

## When to avoid
- you want a complete prebuilt auth UI with views (use Laravel Breeze or Jetstream instead)
- you are not using the Laravel framework
- you only need simple manual auth and prefer wiring Laravel's core auth services yourself

## Facets
- artifact type: library
- maturity: active
- function: auth, middleware, routing
- domain: web-development, backend, security
- platform: php
- tags: laravel, authentication-backend, two-factor-authentication, passkeys, password-reset, email-verification, headless, web-server

## Member repositories
- laravel/fortify (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:32.119553+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:28:01.809325+00:00, confidence not recorded.
  - readme: https://github.com/laravel/fortify (fetched 2026-08-28T04:05:32.119553+00:00, sha a9a7fc787d5f)
  - homepage: https://laravel.com/docs/fortify (fetched 2026-08-29T11:06:11.532284+00:00, sha 660cf752e00e)
  - site_page: https://laravel.com/framework/docs/releases (fetched 2026-08-29T11:06:11.535876+00:00, sha e870da111344)
  - site_page: https://laravel.com/framework/docs/upgrade (fetched 2026-08-29T11:06:11.537698+00:00, sha 778b1ded7c83)
  - site_page: https://laravel.com/framework/docs/contributions (fetched 2026-08-29T11:06:11.540174+00:00, sha fc2f0de2e345)
  - site_page: https://laravel.com/framework/docs/installation (fetched 2026-08-29T11:06:11.542311+00:00, sha 2589680a50e6)
  - site_page: https://laravel.com/framework/docs/configuration (fetched 2026-08-29T11:06:11.544749+00:00, sha 168f13c62970)
  - site_page: https://laravel.com/framework/docs/ai (fetched 2026-08-29T11:06:11.547082+00:00, sha 5b18f5e90733)
  - site_page: https://laravel.com/framework/docs/structure (fetched 2026-08-29T11:06:11.549073+00:00, sha b04cb3876d1f)
  - site_page: https://laravel.com/framework/docs/frontend (fetched 2026-08-29T11:06:11.550836+00:00, sha 2c710ca00bc0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
