Download the PHP package sandritsch91/yii2-widget-form-wizard without Composer
On this page you can find all versions of the php package sandritsch91/yii2-widget-form-wizard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sandritsch91/yii2-widget-form-wizard
More information about sandritsch91/yii2-widget-form-wizard
Files in sandritsch91/yii2-widget-form-wizard
Package yii2-widget-form-wizard
Short Description A Yii2 form-wizard widget for bootstrap 5
License MIT
Informations about the package yii2-widget-form-wizard
yii2-form-wizard
A Yii2 form-wizard widget for bootstrap 5
Features
- Bootstrap 5
- Client side validation, with the option to validate each step separately
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
Usage
Contributing
Contributions are welcome.
If you have any questions, ideas, suggestions or bugs, please open an issue.
Testing
This package uses codeception for testing. To run the tests, run the following commands:
for all test suites
Unit tests
run in the root directory of this repository.
Functional tests
run in the root directory of this repository.
Accpetance tests
To be able to run acceptance tests, a few requirements are needed:
For Windows:\
- install java runtime environment
- install nodejs
- install selenium-standalone:
npm install -g selenium-standalone
- start selenium-standalone:
selenium-standalone install && selenium-standalone start
- host a yii2 application on a server or locally via
- add this plugin as a dependency to your and update dependencies
- site must be reachable over http://formwizard.com/
- add an action to the , as described below
- this action must return a view file, as described below
- run
For Linux:
Never did that before, but I think it is similar to the Windows setup.
The action in the SiteController:
The view returned by the action:
After the initial installation, you only have to start the selenium-standalone server and run the tests in the root directory of this repository.
If you do not want to setup an application, just run the unit and functional tests by running , I can modify and run the acceptance tests for you, after you opened a pull request.