fortify-development

Configure Laravel Fortify authentication routes and controllers for SPA or API backends.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/JoeyMckenzie/website-laravel --skill fortify-development-joeymckenzie
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fortify-development
Source: https://github.com/JoeyMckenzie/website-laravel/tree/main/.claude/skills/fortify-development
Command: npx skills add https://github.com/JoeyMckenzie/website-laravel --skill fortify-development-joeymckenzie

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fortify provides a headless authentication backend for Laravel applications, centralizing the routes and controllers needed for secure user authentication.

Core Features & Use Cases

  • Registration: User sign-up and account creation with validation.
  • Login & Password Reset: Standard login flows and password reset via email, plus session management.
  • Email Verification: Enforces MustVerifyEmail and an email verification workflow.
  • Profile Updates: User information updates and password changes.
  • Two-Factor Authentication: TOTP-based 2FA setup with recovery codes for added security.
  • SPA / API Readiness: Works with single-page apps or API-based frontends via Fortify's service provider and contracts.

Quick Start

Configure Fortify in your Laravel project by enabling features in config/fortify.php and wiring up FortifyServiceProvider, then run migrations and test login, registration, and 2FA flows.

Frequently Asked Questions about fortify-development

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

FAQPage Schema
How do I set up Laravel authentication for a single-page application?

Laravel authentication for a SPA uses a headless backend that provides routes and controllers without UI, configured via config/fortify.php and FortifyServiceProvider to handle registration, login, and password reset flows.

What is the best way to add two-factor authentication in Laravel?

Two-factor authentication in Laravel uses a TOTP-based setup with recovery codes, enabled through configuration files and customized using action classes to secure user logins and manage profile access.

How do I customize user registration validation in a Laravel headless auth backend?

Customize user registration validation in a Laravel headless auth backend by modifying the action classes in app/Actions/Fortify, overriding default logic while preserving the service provider routing contracts.

Does Laravel Fortify work with API-driven frontend architectures?

Laravel Fortify works with API-driven architectures by supplying headless authentication routes and controllers, allowing external frontends to consume registration, email verification, and 2FA endpoints seamlessly.

How do I enforce email verification in a Laravel application?

Enforce email verification in a Laravel application by enabling the email verification feature in configuration, implementing the MustVerifyEmail interface, and utilizing the provided verification workflow routes.