PHPackages                             hadi-aj/yii2-pwt-datepicker - 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. hadi-aj/yii2-pwt-datepicker

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

hadi-aj/yii2-pwt-datepicker
===========================

Jalali datepicker

1.0.0(8y ago)033WTFPLPHP

Since Jan 25Pushed 8y ago1 watchersCompare

[ Source](https://github.com/hadi-aj/yii2-pwtdatepicker)[ Packagist](https://packagist.org/packages/hadi-aj/yii2-pwt-datepicker)[ Docs](https://github.com/hadi-aj/yii2-pwtdatepicker)[ RSS](/packages/hadi-aj-yii2-pwt-datepicker/feed)WikiDiscussions master Synced yesterday

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

Persian Date Picker for Yii2
============================

[](#persian-date-picker-for-yii2)

This Date picker widget work with Iranian calendar, based on [Persian Date Picker](https://github.com/babakhani/pwt.datepicker)

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

[](#installation)

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

Either run

```
php composer.phar require hadi-aj/yii2-pwt-datepicker "*"

```

or add

```
"hadi-aj/yii2-pwt-datepicker": "*"

```

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

Usage
-----

[](#usage)

```
use hadiaj\pwtdatepicker\PwtDatepicker;

// Normal select with ActiveForm & model
echo $form->field($model, 'date')->widget(PwtDatepicker::classname(), [
    'pluginOptions' => [
        'initialValue' => TRUE,
        ...
    ],
]);

// PwtDatepicker without model
echo PwtDatepicker::widget([
    'pluginOptions' => [
        'initialValue' => TRUE,
        ...
    ],
]);
```

Please, check the [Persian Date Picker documentation](https://github.com/babakhani/pwt.datepicker#options-table) for further information about its configuration options.

License
-------

[](#license)

Freely distributable under the terms of the [WTFPL](http://www.wtfpl.net/) license.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

3030d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/36fdf5ecc4b70e0350d8fc4a86573ca9df9966384f39c8997132cd9eeba0621a?d=identicon)[hadi-aj](/maintainers/hadi-aj)

---

Top Contributors

[![hadi-aj](https://avatars.githubusercontent.com/u/19227834?v=4)](https://github.com/hadi-aj "hadi-aj (2 commits)")

---

Tags

datapickerjalali-calendarjalali-date-pickerpersian-calendaryii2-extensionpluginjqueryyii2extensionwidgetdatepicker

### Embed Badge

![Health badge](/badges/hadi-aj-yii2-pwt-datepicker/health.svg)

```
[![Health](https://phpackages.com/badges/hadi-aj-yii2-pwt-datepicker/health.svg)](https://phpackages.com/packages/hadi-aj-yii2-pwt-datepicker)
```

###  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)
