Wizard module intend to provide a way to manage multi-step forms. For that, wizard contains all the steps which each has its own form and data validation. We use session to temporarily store step data and finally store them into a database (for instance) at the end of the wizard.
- Zend Framework 2 (latest master).
- Manage wizard process [COMPLETE]
-
Add this project in your composer.json:
"require": { "neeckeloo/wizard": "dev-master" }
-
Now tell composer to download dependencies by running the command:
$ php composer.phar update
-
Enabling it in your
application.config.php
file:<?php return array( 'modules' => array( // ... 'Wizard' ), // ... );
-
Copy the
./vendors/neeckeloo/wizard/config/wizard.global.php.dist
to your./config/autoload/wizard.global.php
.<?php $wizard = array( 'default_layout_template' => 'wizard/layout', 'default_class' => 'Wizard\Wizard', 'wizards' => array(), ); return array('wizard' => $wizard);