New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

spatie/laravel-livewire-wizard

Build wizards using Livewire
1,616,612 418

Larablocks Analysis

Compatibility

Trusted maintainer

spatie/laravel-livewire-wizard works with Laravel 12 and 13 (latest release 3.2.2, Nov 4, 2026).

Laravel 9, 10 and 11 in earlier releases.

  • Trusted maintainer: spatie publishes 287 packages on Larablocks, with 204,136,623 downloads a month between them.

Recommendation checks

Recommended

Recommended by Larablocks: meets all 4 checks.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Nov 4, 2026)
  • 116,304 downloads a month (at least 10,000)
  • 418 GitHub stars (at least 100)

State

Actively maintained
  • Last stable release: Nov 4, 2026.
  • 11 releases in the last 12 months.
  • First released: May 14, 2022.
  • Monthly downloads: 116,304, up 68% from six months ago.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.

Install
composer require spatie/laravel-livewire-wizard
Latest Version:3.2.2
PHP:^8.4
Laravel:12 · 13
Older releases:9 · 10 · 11
License:MIT
Last Updated:Nov 5, 2026
Links: GitHub  ·  Packagist
Maintainer: spatie
Logo for laravel-livewire-wizard

Build wizards using Livewire

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This package offers lightweight Livewire components that allow you to easily build a wizard. With "wizard" we mean a multi-step process in which each step has its own screen.

screenshot

Single-file and multi-file components, as well as class-based components, are supported.

Here's what a wizard component could look like.

{{-- resources/views/components/⚡checkout-wizard.blade.php --}}
<?php

use Spatie\LivewireWizard\Components\WizardComponent;

new class extends WizardComponent
{
    public function steps(): array
    {
        return [
            'checkout.cart-step',
            'checkout.delivery-address-step',
            'checkout.confirm-order-step',
        ];
    }
};
?>

@include('livewire-wizard::wizard')

A step is a component that extends StepComponent (which in its turn extends Livewire\Component). You can do anything in here that you can do with a regular Livewire component.

{{-- resources/views/components/checkout/⚡cart-step.blade.php --}}
<?php

use Spatie\LivewireWizard\Components\StepComponent;

new class extends StepComponent
{
    // add any Livewire powered method you want
};
?>

<div>
    <ul>
        @foreach (session('cart') as $item)
            <li>{{ $item['name'] }}</li>
        @endforeach
    </ul>

    <button wire:click="nextStep">Continue</button>
</div>

Class-based components work the same way, registered with Livewire and listed by class.

namespace App\Components;

use Spatie\LivewireWizard\Components\WizardComponent;

class CheckoutWizardComponent extends WizardComponent
{
    public function steps(): array
    {
        return [
            CartStepComponent::class,
            DeliveryAddressStepComponent::class,
            ConfirmOrderStepComponent::class,
        ];
    }
}
namespace App\Components;

use Spatie\LivewireWizard\Components\StepComponent;

class CartStepComponent extends StepComponent
{
    // add any Livewire powered method you want

    public function render()
    {
        return view('checkout-wizard.steps.cart');
    }
}

You can easily control which step is displayed, access state of other steps, and build any navigation you desire.

In this repo on GitHub, you'll find a demo Laravel application that uses the laravel-livewire-wizard package to create a simple checkout flow.

Support us

We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.

Documentation

All documentation is available on our documentation site.

Testing

composer test

Alternatives

Our package is headless. This means that it does not provide UI, but it offers functions to easily build any UI you want. If you do not wish to build your own UI, you could consider using vildanbina/livewire-wizard, which includes pre-built navigation and CSS.

Filament users could also take a look at the built-in wizard functionality.

Another headless package satoved/laravel-livewire-steps that uses Livewire form objects for steps instead of Livewire components can be considered for simpler use cases.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

spatie/elasticsearch-search-string-parser

Build Elasticsearch queries based of a query string

24,619 51
spatie/backtrace

A better backtrace

220,267,784 438
spatie/laravel-package-tools

Tools for creating Laravel packages

208,094,001 952
spatie/image-optimizer

Easily optimize images using PHP

100,292,189 2,882
spatie/error-solutions

This is my package error-solutions

92,435,565 67

Version History

Version Released PHP Laravel License
3.2.2 ^8.4 ^12.0|^13.0 MIT
3.2.1 ^8.4 ^12.0|^13.0 MIT
3.2.0 ^8.4 ^12.0|^13.0 MIT
3.1.4 ^8.2 ^11.0|^12.0|^13.0 MIT
3.1.3 ^8.2 ^11.0|^12.0|^13.0 MIT