PHPackages                             alkurn/yii2-stepform - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. alkurn/yii2-stepform

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

alkurn/yii2-stepform
====================

Multi step wizard widget using tabs to guide a user through steps to complete a task. Based on the Form wizard (using tabs) from lukepzak (see http://bootsnipp.com/snippets/featured/form-wizard-using-tabs).

0118PHP

Since Mar 15Pushed 8y ago1 watchersCompare

[ Source](https://github.com/alkurn/yii2-stepform)[ Packagist](https://packagist.org/packages/alkurn/yii2-stepform)[ RSS](/packages/alkurn-yii2-stepform/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 Step Form
==============

[](#yii2-step-form)

Multi step Step Form using tabs to guide a user through steps to complete a task. Based on the Form wizard (using tabs) from lukepzak (see ).

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist alkurn/yii2-stepform "*"

```

or add

```
"alkurn/yii2-stepform": "*"

```

to the require section of your `composer.json` file.

Stepform configuration
----------------------

[](#stepform-configuration)

- `id`: *string* html id of the Step Form
- `steps`: *array* definition of the wizard steps. Array key will be used as the hyperlinks to the steps.

Each step can have the following parameters:

- `title`: *string required* title of the step (shown when hoovering over step icon)
- `icon`: *string required* step icon code (see Glyphicon or Font awesome codes)
- `content`: *string required* HTML content of the step page
- `skippable`: *boolean optional* allow to skip over a step
- `buttons`: *array optional* configuration of the buttons per step
- `complete_content`: *string optional* the HTML content of a complete step
- `start_step`: *string optional* the starting step when wizard is initialized

In each step four different buttons can be configured (display of a button is dependent on position of the step in the sequence):

- `prev`: (not shown on first step)
- `next`: (not shown on last step)
- `skip`: (shown when skippable is set)
- `save`: (shown on the last step)

Each button can be configured with:

- `title`: *string optional* title as shown in the button
- `options`: *array optional* of HTML options (see [Yii2 HTML helper documentation](http://www.yiiframework.com/doc-2.0/yii-helpers-basehtml.html#button()-detail))

or

- `html`: *string optional* add your own button definition with HTML code (for example to save data after a step)

Usage
-----

[](#usage)

Once the extension is installed, use it in your code like :

```

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/485ae3b1c7496e2d8d100c7c12274e3e7d490afc132ef1b3a2b2a30f10727e1e?d=identicon)[gmankar](/maintainers/gmankar)

### Embed Badge

![Health badge](/badges/alkurn-yii2-stepform/health.svg)

```
[![Health](https://phpackages.com/badges/alkurn-yii2-stepform/health.svg)](https://phpackages.com/packages/alkurn-yii2-stepform)
```

###  Alternatives

[kartik-v/yii2-widget-switchinput

A Yii2 wrapper widget for the Bootstrap Switch plugin to use checkboxes &amp; radios as toggle switchinputes (sub repo split from yii2-widgets)

384.6M13](/packages/kartik-v-yii2-widget-switchinput)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
