developing-with-fortify

Configure headless Laravel authentication with Fortify for login, registration, and two-factor authentication.

Updated Feb 11, 2026
One-click install
npx skills add https://github.com/juniorfontenele/ai-guidelines --skill developing-with-fortify-juniorfontenele
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: developing-with-fortify
Source: https://github.com/juniorfontenele/ai-guidelines/tree/main/.agents/skills/developing-with-fortify
Command: npx skills add https://github.com/juniorfontenele/ai-guidelines --skill developing-with-fortify-juniorfontenele

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and reference material for implementing and customizing authentication features in Laravel applications using the Fortify package, addressing common authentication needs like login, registration, and two-factor authentication.

Core Features & Use Cases

  • Headless Authentication: Implement authentication flows without relying on Fortify's default views.
  • Feature Configuration: Easily enable or disable features like registration, password reset, email verification, and two-factor authentication.
  • Customization Guidance: Understand how to override actions, responses, and views for tailored authentication experiences.
  • Use Case: When building a new Laravel project that requires a secure user registration and login system, this Skill acts as a quick reference for setting up Fortify, including enabling features like email verification and two-factor authentication.

Quick Start

Use the developing-with-fortify skill to add two-factor authentication to the current Laravel project.

Frequently Asked Questions about developing-with-fortify

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

FAQPage Schema
How do I implement headless authentication in Laravel using Fortify?

Headless authentication in Laravel Fortify is implemented by disabling default views and using API endpoints. This allows you to integrate custom frontends while Fortify handles backend login and registration flows.

What is the best way to enable two-factor authentication in a Laravel backend?

The best way to enable two-factor authentication in a Laravel backend is using the Fortify package. You configure the feature in the Fortify configuration file to activate secure login challenges.

Can I customize password reset and email verification flows with Laravel Fortify?

Yes, you can customize password reset and email verification flows with Laravel Fortify. The package provides guidance to override actions, responses, and views for tailored authentication experiences.

Does Laravel Fortify work without its default UI views for API-driven apps?

Yes, Laravel Fortify works without default UI views for API-driven apps. It functions as a headless authentication backend, facilitating integration with custom frontends and API-driven authentication.

How do I configure authentication guards and profile updates in Laravel Fortify?

You configure authentication guards and profile updates in Laravel Fortify by modifying the configuration file and overriding action classes. This provides tailored user profile management and route protection.