spatie/laravel-livewire-wizard
Lightweight Livewire components for building multi-step wizards in Laravel. Define a wizard with an ordered list of step components, each with its own screen and Livewire logic, and guide users through checkout-style flows with ease.
composer.json constraints).php artisan livewire:install if needed).php artisan vendor:publish --provider="Spatie\LivewireWizard\LivewireWizardServiceProvider").Spatie\LivewireWizard\LivewireWizard.steps() method.useStep() and nextStep() methods for navigation.rules() or custom methods.wizard-step).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Livewire component crash | Wizard breaks, user stuck | Use @error directives in Blade, implement fallback UI. |
| Session timeout | Lost progress | Extend session lifetime or persist state to database. |
| Network/API failure in a step | User unable to proceed | Implement retry logic, graceful degradation (e.g., save draft). |
| Styling conflicts | UX degradation | Override Tailwind classes or use custom CSS. |
| Livewire version incompatibility | Package breaks | Pin Livewire version in composer.json, monitor Spatie updates. |
| High server load | Slow response times | Optimize validation, use caching, or split wizards into smaller components. |
How can I help you explore Laravel packages today?