Skip to content

💡 A fully validated, dynamic multi-step form wizard for Laravel 12 Livewire 3. Easy to use. Developer friendly.

License

Notifications You must be signed in to change notification settings

Codegenie-BE/laravel-livewire-multistep-form

Repository files navigation

Laravel Livewire Multi-Step Form Wizard

Laravel Livewire TailwindCSS License Last Commit Issues Pull Requests

A lightweight, customizable form wizard built with Laravel Livewire 3 and Tailwind CSS. Ideal for onboarding flows, multi-step forms, or split form logic.

🚀 Live Demo: https://laravel-livewire.codegenie.be

Features

  • Multi-step navigation with real-time validation
  • Livewire 3 compatible (using wire:submit, lifecycle hooks)
  • Blade + Tailwind-based layout
  • Custom color theming
  • Loading indicators per step
  • Feature test included (Pest)

Installation

For Linux / macOS

git clone https://github.com/Codegenie-BE/laravel-livewire-multistep-form.git
cd laravel-livewire-multistep-form

composer install
npm install && npm run build

cp .env.example .env
php artisan key:generate
touch database/database.sqlite
php artisan migrate
php artisan serve

For Windows (PowerShell)

git clone https://github.com/Codegenie-BE/laravel-livewire-multistep-form.git
cd laravel-livewire-multistep-form

composer install
npm install; npm run build

Copy-Item .env.example .env
php artisan key:generate
New-Item -ItemType File -Path "database/database.sqlite"
php artisan migrate
php artisan serve

Tip: Use only ASCII characters in .env for APP_NAME (e.g., LivewireWizard)

Usage

Open http://localhost:8000 in your browser.

File Overview

app/Livewire/MultiStepForm.php               # Livewire logic
resources/views/livewire/multi-step-form.blade.php
resources/views/layouts/app.blade.php
resources/views/home.blade.php
resources/views/thankyou.blade.php
config/ui.php
tests/Feature/Livewire/MultiStepFormTest.php

Run Tests

./vendor/bin/pest

Why use this package?

Most multi-step wizards are either too bloated or not Livewire 3 compatible.

This package is:

  • 🧼 Clean and minimal — no unnecessary dependencies
  • 🧠 Built with Laravel conventions
  • ⚡ Livewire 3.x ready (including lifecycle, wire:navigate)
  • 🎨 Fully customizable via Tailwind

Contributing

  • Fork the repo
  • Create a new branch:
    git checkout -b feature/my-feature
  • Commit and push your changes
  • Submit a pull request

License

MIT © Codegenie-BE

🧙‍♂️ Created with passion by Jordy L’oeuillewww.codegenie.be
💬 Questions or ideas? Open an issue
⭐ If you find this useful, give it a star to support the project!

Releases

No releases published

Packages

No packages published

Languages