Fortify
Headless auth backend.
Documentation
Use search-docs for patterns.
Usage
- •Routes:
list-routes(action: "Fortify", only_vendor: true). - •Actions:
app/Actions/Fortify/. - •Config:
config/fortify.php. - •Views: Set in
FortifyServiceProvider::boot().
Features
Enable in config/fortify.php:
- •
registration(),resetPasswords(),emailVerification(),updateProfileInformation(),updatePasswords(),twoFactorAuthentication().
Workflows
- •2FA: Add
TwoFactorAuthenticatableto User. Enable in config. Run migrations. View callbacks. - •Verification:
MustVerifyEmailon User.