fortify-development

Implement Laravel Fortify authentication workflows for web and SPA setups.

2|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/rafrusth/job_application --skill fortify-development-rafrusth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fortify-development
Source: https://github.com/rafrusth/job_application/tree/main/job-web/vendor/laravel/fortify/resources/boost/skills/fortify-development
Command: npx skills add https://github.com/rafrusth/job_application --skill fortify-development-rafrusth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you correctly implement and customize Laravel authentication so users can sign in, register, recover passwords, and (optionally) verify email and enable two-factor authentication.

Core Features & Use Cases

  • Headless authentication routes & controllers: Use Fortify as the backend that registers auth endpoints without tying you to a specific frontend templating system.
  • Authentication feature coverage: Support registration, login/logout, password resets, email verification, profile updates, password confirmation, and 2FA using QR codes and recovery codes.
  • SPA/headless compatibility: Configure Fortify to return JSON for session-based SPA authentication workflows and provide consistent two-factor challenge responses.

Quick Start

Enable the authentication features you need in config/fortify.php, then activate the corresponding routes and workflows (such as login, registration, password reset, email verification, and/or two-factor authentication) following the Fortify documentation guidance.

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 headless or SPA backend?

Laravel authentication for a SPA uses Fortify to register backend auth endpoints and return JSON responses, avoiding frontend lock-in. You configure features in config/fortify.php and use FortifyServiceProvider to handle routes without tying to specific templating systems.

Can I enable two-factor authentication with QR codes in Laravel Fortify?

Yes, two-factor authentication is an optional feature in Laravel Fortify. You enable it in config/fortify.php, which provides 2FA workflows including QR code generation, recovery codes, and consistent two-factor challenge responses for both web and SPA setups.

What authentication workflows does Laravel Fortify support out of the box?

Laravel Fortify supports registration, login, logout, password resets, email verification, profile updates, password confirmation, and optional two-factor authentication. These workflows are managed through overridable actions in app/Actions/Fortify and configured via config/fortify.php.

Does Laravel Fortify work without frontend Blade views?

Yes, Fortify works without Blade views by functioning as a headless backend. It registers authentication routes and controllers independently, returning JSON for session-based SPA authentication workflows while coordinating responses through overridable contracts.

How do I customize password reset and email verification flows in Laravel?

You customize password reset and email verification flows by modifying the action classes under app/Actions/Fortify and configuring the enabled features in config/fortify.php. FortifyServiceProvider view callbacks allow further coordination of these specific authentication workflows.

When should I use Fortify instead of Laravel's default authentication?

Use Fortify when you need headless authentication or SPA compatibility without frontend lock-in. It is ideal if you require customized backend flows for registration, login, email verification, or 2FA, and need to return JSON instead of using traditional Blade templating.