A powerful headless multi-step wizard package for Laravel. Build complex, multi-page forms with progress tracking, navigation, and validation. Bring your own frontend - works with React, Vue, Inertia, Livewire, Alpine.js, or any JavaScript framework.
- π Zero Frontend Lock-in - Pure JSON API for any framework
- β‘ Interactive Generators - Beautiful CLI with Laravel Prompts for wizard creation
- π¨ Pre-built Components - Blade components for rapid prototyping (Layout, ProgressBar, Navigation)
- π Vue 3 Composable - useWizard() composable with TypeScript definitions for SPA integration
- π Multi-Type Wizards - Generate Blade, API, Livewire, or Inertia wizards
- β Laravel-Native Validation - Uses FormRequest classes with automatic integration
- πΎ Flexible Storage - Session, database, or cache adapters
- π Smart Progress Tracking - Real-time completion percentages with automatic calculation
- π Conditional Logic - Optional steps, dynamic flows, and step reordering
- π Event-Driven - Hook into every wizard lifecycle event
- β¨ Modern PHP 8.4 - Property hooks, constructor promotion, and strict types
Full documentation available at: https://invelity.github.io/laravel-headless-wizard/
Install the package:
composer require invelity/laravel-headless-wizardPublish the configuration:
php artisan vendor:publish --tag="wizard-config"Create your first wizard (interactive):
php artisan wizard:make Onboarding
# Choose wizard type: blade, api, livewire, or inertiaOr with options:
php artisan wizard:make Onboarding --type=bladeAdd steps to your wizard:
php artisan wizard:make-step Onboarding PersonalInfo --order=1
# Interactive prompts guide you through step creation- PHP 8.4 or higher
- Laravel 11.0 or 12.0
- 89.7% Test Coverage - 397 comprehensive Pest tests
- Cyclomatic Complexity: 4.37 - Clean, maintainable code
- PHPStan Level 5 - Zero static analysis errors
- 100% Type Coverage - Full type declarations
- Architecture Tests - SOLID principles enforced via Pest Arch
Contributions are welcome! Please see CONTRIBUTING.md for details.
Report security vulnerabilities via GitHub Security.
The MIT License (MIT). See LICENSE.md for details.
Built with β€οΈ by Invelity
