PHPackages                             aayaresko/yii2-widget-maskedinputdatepicker - 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. aayaresko/yii2-widget-maskedinputdatepicker

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

aayaresko/yii2-widget-maskedinputdatepicker
===========================================

Yii2 widget that allow using of inputmask jquery plugin in conjunction with datepicker jquery plugin

v1.0.1-alpha(10y ago)42.4k1[1 issues](https://github.com/aayaresko/yii2-widget-maskedinputdatepicker/issues)BSD 3-Clause LicensePHPPHP &gt;=5.3.0

Since May 23Pushed 8y ago2 watchersCompare

[ Source](https://github.com/aayaresko/yii2-widget-maskedinputdatepicker)[ Packagist](https://packagist.org/packages/aayaresko/yii2-widget-maskedinputdatepicker)[ Docs](https://github.com/aayaresko/yii2-widget-maskedinputdatepicker)[ RSS](/packages/aayaresko-yii2-widget-maskedinputdatepicker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (2)Used By (0)

yii2-widget-maskedinputdatepicker
=================================

[](#yii2-widget-maskedinputdatepicker)

Implements inputMask jquery plugin in conjunction with DatePicker jquery plugin

Widget InputMask in Conjunction with DatePicker (using jquery plugins).
-----------------------------------------------------------------------

[](#widget-inputmask-in-conjunction-with-datepicker-using-jquery-plugins)

Creates a DatePicker field with InputMask in specified via maskedInputOptions\['mask'\] format.

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

[](#installation)

The preferred way to install extension is via [composer](http://getcomposer.org/download/). Check the [composer.json](https://github.com/aayaresko/yii2-widget-maskedinputdatepicker/blob/master/composer.json) for this extension's requirements and dependencies.

To install, either run

```
$ php composer.phar require aayaresko/yii2-widget-maskedinputdatepicker "*"

```

or add

```
"aayaresko/yii2-widget-maskedinputdatepicker": "*"

```

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

Usage
-----

[](#usage)

Upload all necessary components and prepare widget

```
use aayaresko\date\MaskedInputDatePicker
```

```
echo MaskedInputDatePicker::widget([
    'enableMaskedInput' => true,
    'maskedInputOptions' => [
        'mask' => '99.99.9999',
        'pluginEvents' => [
            'complete' => "function(){console.log('complete');}"
        ]
    ],
    'name' => 'dp_3',
    'type' => MaskedInputDatePicker::TYPE_COMPONENT_APPEND,
    'value' => '23.09.1982',
    'pluginOptions' => [
        'autoclose'=>true,
        'format' => 'dd.M.yyyy'
    ]
]);
```

Important
---------

[](#important)

Values of fields `format`, `value` and `mask` must be the same

Configure plugin via parameters:

- enableMaskedInput - whether to use InputMask or not (default false - do not use)
- maskedInputOptions - inputmask jquery plugin configuration parameters, it must contain the arrays:
    - 'pluginOptions' - jquery plugin settings;
    - 'pluginEvents' - jquery plugin events;
    - 'mask' - input mask.

License
-------

[](#license)

**yii2-widget-maskedinputdatepicker** is released under the BSD 3-Clause License. See the bundled `LICENSE.md` for details.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4013d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/06e7bed9064a58e5e46fb881990859f810313aa291b4000310f3a36de3b2d22a?d=identicon)[aayaresko](/maintainers/aayaresko)

---

Top Contributors

[![aayaresko](https://avatars.githubusercontent.com/u/8190713?v=4)](https://github.com/aayaresko "aayaresko (54 commits)")

---

Tags

pluginjqueryyii2extensionwidgetinputmaskMaskedinput

### Embed Badge

![Health badge](/badges/aayaresko-yii2-widget-maskedinputdatepicker/health.svg)

```
[![Health](https://phpackages.com/badges/aayaresko-yii2-widget-maskedinputdatepicker/health.svg)](https://phpackages.com/packages/aayaresko-yii2-widget-maskedinputdatepicker)
```

###  Alternatives

[kartik-v/yii2-widget-datetimepicker

Enhanced Yii2 wrapper for the bootstrap datetimepicker plugin (sub repo split from yii2-widgets)

1036.5M47](/packages/kartik-v-yii2-widget-datetimepicker)[kartik-v/yii2-widget-typeahead

Enhanced Yii2 wrapper for the Twitter Typeahead plugin (sub repo split from yii2-widgets).

454.8M9](/packages/kartik-v-yii2-widget-typeahead)[kartik-v/yii2-widget-rating

A Yii2 widget for the simple yet powerful bootstrap-star-rating plugin with fractional rating support (sub repo split from yii2-widgets)

444.1M8](/packages/kartik-v-yii2-widget-rating)[kartik-v/yii2-widget-timepicker

Enhanced Yii2 wrapper for the bootstrap timepicker plugin (sub repo split from yii2-widgets)

404.9M14](/packages/kartik-v-yii2-widget-timepicker)[kartik-v/yii2-widget-sidenav

An enhanced side navigation menu styled for bootstrap (sub repo split from yii2-widgets)

364.0M8](/packages/kartik-v-yii2-widget-sidenav)[kartik-v/yii2-widget-colorinput

An enhanced Yii 2 widget encapsulating the HTML 5 color input (sub repo split from yii2-widgets)

324.8M10](/packages/kartik-v-yii2-widget-colorinput)

PHPackages © 2026

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