Download the PHP package satoved/laravel-livewire-steps without Composer
On this page you can find all versions of the php package satoved/laravel-livewire-steps. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download satoved/laravel-livewire-steps
More information about satoved/laravel-livewire-steps
Files in satoved/laravel-livewire-steps
Package laravel-livewire-steps
Short Description Lightweight Livewire component that allow you to easily build a wizard or multi-step forms.
License MIT
Homepage https://github.com/satoved/laravel-livewire-steps
Informations about the package laravel-livewire-steps
Lightweight Livewire component to build wizards (multi-step forms)
Lightweight Livewire component that allow you to easily build a wizard (multi-step form).
This package utilizes Livewire 3 forms objects as steps and needs only one Livewire component as a Wizard.
Here's what a wizard could look like.
In this repo on GitHub, you'll find a demo Laravel application that uses the laravel-livewire-steps package to create a simple email subscription flow.
Installation
You can install the package via composer:
Usage
Create a Livewire component that extends WizardComponent. List all steps in the correct order as public properties.
Each step is a Livewire form object that must extend StepForm.
Testing
Alternatives
This package was heavily inspired by spatie/laravel-livewire-wizard. It's a great package, but each step has to be a Livewire component, and you get two requests for a parent component and the step component each time. Which is in overkill for my 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
- Oleg Shovkun
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-livewire-steps with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0
livewire/livewire Version ^3.0