developing-with-fortify

Implement headless Laravel authentication with Fortify features and contracts.

2|Updated Dec 15, 2025
One-click install
npx skills add https://github.com/joshdonnell/laravel-starter-kit-vue --skill developing-with-fortify-joshdonnell
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: developing-with-fortify
Source: https://github.com/joshdonnell/laravel-starter-kit-vue/tree/main/.junie/skills/developing-with-fortify
Command: npx skills add https://github.com/joshdonnell/laravel-starter-kit-vue --skill developing-with-fortify-joshdonnell

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Laravel Fortify headless authentication backend development. Activate when implementing authentication features including login, registration, password reset, email verification, two-factor authentication (2FA/TOTP), profile updates, headless auth, authentication scaffolding, or auth guards in Laravel applications.

Core Features & Use Cases

  • Fortify-based authentication routes and controllers for headless Laravel apps
  • Configurable features: registration, password resets, email verification, profile updates, and two-factor authentication
  • Guidance for SPA/API-driven authentication workflows and customization patterns
  • Real-world example: protecting API routes with Fortify-backed auth

Quick Start

Enable Fortify features in config/fortify.php and run migrations to set up authentication.

Frequently Asked Questions about developing-with-fortify

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

FAQPage Schema
How do I set up headless Laravel authentication for an API or SPA?▼

Headless Laravel authentication is configured by enabling Fortify features in config/fortify.php and running migrations. This scaffolds login, registration, and API-driven auth workflows without Blade views.

What is Laravel Fortify used for in headless applications?▼

Laravel Fortify provides the backend authentication implementation for headless apps, handling registration, password resets, email verification, and two-factor authentication routes for API or SPA frontends.

Can I implement two-factor authentication (2FA) in a headless Laravel backend?▼

Yes, you can implement two-factor authentication in a headless Laravel backend by enabling the 2FA/TOTP feature in Fortify configuration and integrating the authentication routes with your API-driven frontend.

Does Laravel Fortify work without frontend UI scaffolding?▼

Yes, Laravel Fortify is designed as a headless authentication backend, meaning it provides the controllers and routes for auth features without forcing you to use predefined frontend UI views.

How do I protect API routes using Laravel Fortify authentication?▼

Protect API routes using Laravel Fortify by configuring the authentication guards and utilizing the Fortify-backed auth scaffolding to secure your API endpoints for authenticated SPA or API requests.