PHPackages                             mdbhayani/yii2-activeform - 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. mdbhayani/yii2-activeform

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

mdbhayani/yii2-activeform
=========================

Yii2 extended activeform widget

128JavaScript

Since Apr 4Pushed 8y ago1 watchersCompare

[ Source](https://github.com/mdbhayani/yii2-activeform)[ Packagist](https://packagist.org/packages/mdbhayani/yii2-activeform)[ RSS](/packages/mdbhayani-yii2-activeform/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii2 Activeform Extension (1.0.0)
=================================

[](#yii2-activeform-extension-100)

A simple Yii2 extended ActiveForm widget.

Features
--------

[](#features)

- [Bootstrap daterangepicker](http://www.daterangepicker.com/) for date picker fields
- [Select2](http://www.select2.com/) for dropDownList
- [Summernote](http://www.summernote.com/) for text editor

Requirements
------------

[](#requirements)

- Yii2
- PHP 5.4+

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

[](#installation)

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

```
php composer.phar require mdbhayani/yii2-activeform "*"
```

After the extension is installed, use it in your code wherever you need activeform. Following is the example of a single date input field. It uses jquery daterangepicker for the input field.

```
echo $form->field($model, "formFieldName")->singleDateInput();
```

Following is the example of a date range input field. It uses jquery daterangepicker for the input field. ```
echo $form->field($model, "formFieldName")->dateRangeInput();
```

Following is the example of a drop down field. It uses jquery select2 for the input field. ```
echo $form->field($model, "formFieldName")->dropDownList();
```

Following is the example of a text editor field. It uses summernote for the textarea field. ```
echo $form->field($model, "formFieldName")->wysiwyg();
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 79.4% of commits — single point of failure

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://avatars.githubusercontent.com/u/11955292?v=4)[Danish Bhayani](/maintainers/mdbhayani)[@mdbhayani](https://github.com/mdbhayani)

---

Top Contributors

[![mdbhayani](https://avatars.githubusercontent.com/u/11955292?v=4)](https://github.com/mdbhayani "mdbhayani (27 commits)")[![dmdbhayani](https://avatars.githubusercontent.com/u/47137962?v=4)](https://github.com/dmdbhayani "dmdbhayani (7 commits)")

### Embed Badge

![Health badge](/badges/mdbhayani-yii2-activeform/health.svg)

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

###  Alternatives

[rs/laravel-version-control

Foundations for making your app version controlled. Provides migration, blueprint and base models. Will make your app GxP compliant if you exclusively use the VC models and table structure as set out in this package.

1227.9k](/packages/rs-laravel-version-control)

PHPackages © 2026

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