What problem does it solve?
Fortify Development centralizes and simplifies implementing and customizing authentication backends in Laravel projects, reducing boilerplate and ensuring secure auth flows for login, registration, password resets, email verification, and two-factor authentication.
Core Features & Use Cases
- Headless Authentication Backend: Provides routes, controllers, and response contracts without imposing frontend views so you can build SPAs or custom UIs.
- Feature Configuration & Workflow: Guidance on enabling registration, password resets, email verification, profile updates, password changes, and 2FA via config/fortify.php and FortifyServiceProvider.
- Customization Points: Instructions for overriding response contracts, customizing CreateNewUser and UpdateUserProfileInformation actions, adjusting rate limiting, and altering authentication pipelines.
- Use Case: Implement an email-verified, rate-limited login flow with optional TOTP 2FA for a Laravel SPA that uses Sanctum for session-based authentication.
Quick Start
Enable Fortify in your Laravel app, enable the needed features in config/fortify.php, and ask the assistant to implement or review authentication flows referencing FortifyServiceProvider and app/Actions/Fortify/CreateNewUser.php.