CakePHP multi-form plugin
PHP
Switch branches/tags
Nothing to show
Pull request Compare This branch is 64 commits ahead of jaredhoyt:master.
Latest commit 89f0f3f Jun 2, 2017 @bancer bancer committed on GitHub Added persistUrlParams config option (#21)
* updated gitignore

* updated gitignore and composer

* improved WizardHelper code style

* fixed WizardComponent code style

* added .travis.yml and a test file

* improved travis config, removed wrong import

* added phpcs to travis config

* improved travis config

* fixed travis phpcs path

* improved documentation

* fixed code style

* improved unit test

* fixed testInitialize()

* fixed unit tests, added code coverage

* adjusted coverage config

* temporary commented out unused test code

* added unit test, adjusted coverage config

* adjusted unit tests

* adjusted coverage config

* adjusted coverage config

* adjusted coverage config

* adjusted coverage config

* adjusted coverage config

* adjusted coverage config

* adjusted coverage configuration

* adjusted coverage configuration

* improved unit test

* improved documentation and code style, more unit testing

* fixed typo

* fixed undefined variable

* fixed unit test

* branch() method simplified and unit tested

* improved code style

* more unit tests

* more unit tests

* fixed unit test

* fixed unit test

* fixed unit test

* adjusted codecov.io call

* adjusted codecov call

* improved unit test

* improved unit test

* more unit tests

* fixed unit test

* more unit tests

* improved unit tests

* improved unit tests

* fixed unit tests

* improved unit tests

* improved unit tests

* improved unit tests

* simplified unit tests

* improved unit tests

* temporary comment out yet unused code

* more unit tests

* improved code style and unit tests

* improved unit test

* fixed unit test

* improved code style, unit tests

* fixed unit test

* fixed $this->controller->data, improved unit tests

* fixed unit test

* improved unit test

* unit tests

* unit tests

* more debug

* unit tests

* unit tests

* more debug

* more debug

* more debug

* more debug

* unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* code style, unit tests

* fixed unit tests

* more unit tests

* added missing import

* unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* more unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* reenable stylecheck

* fixed code style

* more unit tests

* fixed code style

* unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* adjusted travis config

* Progress menu links made consistent

* humanized steps in the helper

* improved redirect link

* improved redirect link

* persist url params on redirect

* added debug

* more debug

* removed debug

* adjusted url in the unit test

* more debug

* fixed url parsing in unit test

* removed debug

* support persistUrlParams in the WizardHelper

* improved persist url params logic

* mode debug

* minor improvement

* fixed passed param in the url

* removed debug, fixed unit tests

* Wizard root session key is refactored to a configurable component
variable.

* fixed unit test

* Moved sessionRootKey related code from initialize to startup to ease the
configuration in a controller.

* Setting session keys refactored to a private method.

* Fixed variable name.

* #more unit tests

* adjusted unit tests

* better clear session in tests

* unit tests adjusted

* unit tests

* unit tests improved

* Some refactoring in order to reduce the number of redirects

* more refactoring

* more docs and reset the expected step in branch()

* updates expected step after save() and updates steps after unbranch() is
called

* ensure the current step is set properly

* Fixed indefinite loop bug.

* used Router::reverseToArray()

* updated cakephp version

* restored deleted params

README.md

CakePHP Wizard Plugin

The Wizard plugin for CakePHP automates several aspects of multi-page forms including data persistence, form preparation and unique data processing, wizard resetting (manual and automatic), user navigation, and plot-branching navigation while maintaining flexibility with custom validation and completion callbacks.

Installation

  • Clone/Copy the files in this directory into app/plugins/wizard
  • Include the wizard component in your controller:
    • public $components = array('Wizard.Wizard');

Documentation

Detailed documentation, including usage examples, can be found in the GitHub wiki.