fortify-development

Configure Laravel Fortify authentication routes, 2FA, and customization.

Updated May 29, 2026
One-click install
npx skills add https://github.com/alimarchal/school --skill fortify-development-alimarchal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fortify-development
Source: https://github.com/alimarchal/school/tree/main/.agents/skills/fortify-development
Command: npx skills add https://github.com/alimarchal/school --skill fortify-development-alimarchal

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fortify provides a backend-agnostic authentication layer for Laravel, and this skill helps teams implement and customize authentication flows including login, registration, password reset, email verification, 2FA, passkeys, and profile management with Fortify.

Core Features & Use Cases

  • Centralize auth routes and controllers for Laravel apps via Fortify.
  • Enable advanced features like two-factor authentication, passkeys, and email verification with configurable options.
  • Use in SPA or headless contexts to build frontend-agnostic authentication backends.

Quick Start

Configure Fortify in your Laravel app and verify authentication flows.

Frequently Asked Questions about fortify-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Laravel Fortify for frontend-agnostic authentication?

Laravel Fortify provides a backend-agnostic authentication layer by centralizing auth routes and controllers. You configure it via FortifyServiceProvider and config/fortify.php to handle login, registration, and password reset without coupling to a specific frontend.

How does two-factor authentication work with Laravel Fortify?

Two-factor authentication in Laravel Fortify is enabled through configurable options in config/fortify.php. It handles 2FA flows alongside passkeys and email verification, allowing you to secure user accounts by extending the default actions in app/Actions/Fortify.

Can I use Laravel Fortify for SPA authentication?

Yes, Laravel Fortify is suitable for SPA authentication because it provides a frontend-agnostic backend. It manages authentication routes and sessions that headless or single-page applications can consume without requiring Blade views.

What is the best way to customize Fortify authentication workflows in Laravel?

The best way to customize Fortify workflows is by overriding contracts and modifying the action classes in app/Actions/Fortify. You can extend registration, password reset, and profile management logic directly through the FortifyServiceProvider extension points.

Do I need FortifyServiceProvider to enable email verification in Laravel?

Yes, you need FortifyServiceProvider to enable email verification. Fortify manages verification flows through configurable options in config/fortify.php, and the provider registers the necessary routes and feature flags for the authentication backend.

Why use Laravel Fortify instead of default authentication scaffolding?

Laravel Fortify offers a frontend-agnostic authentication backend, unlike default scaffolding. It centralizes auth logic for login, 2FA, and passkeys, making it ideal for headless contexts or SPAs where you need customized control without predefined frontend views.