beastbytes / wizard
Multi-part form handler
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/beastbytes/wizard
Requires
- php: ^8.0
- httpsoft/http-message: ^1.0
- psr/event-dispatcher: ^1.0
- yiisoft/arrays: ^3.0
- yiisoft/data-response: ^2.0
- yiisoft/friendly-exception: ^1.0
- yiisoft/router-fastroute: ^3.0
- yiisoft/session: ^2.0
- yiisoft/yii-http: ^1.0
Requires (Dev)
- phpunit/phpunit: ^10.0
- roave/infection-static-analysis-plugin: ^1.0
- roave/security-advisories: dev-latest
- vimeo/psalm: ^5.0
- yiisoft/event-dispatcher: ^1.0
- yiisoft/test-support: ^3.0
- yiisoft/yii-view: ^6.0
README
Wizard simplifies the handling of multistep forms.
Features
- All forms submit to the same controller/action
- Allow returning to earlier steps or enforce forward only navigation
- Looping - repeat one or more steps as many times as needed
- Plot Branching Navigation (PBN) - decide which path to take depending on the user's response
- Step Timeout - steps can have a timeout to ensure a user responds within a given time
- Pause/resume - save partially completed Wizards; restore and continue from that point
- Event driven - write the handler functions and hook them up to Wizard events
Installation
Install Wizard using Composer
Add the following to the require section of your composer.json:
"beastbytes/wizard": "*"
or run
php composer.phar require -dev "beastbytes/wizard:*"