PHPackages                             xiaogouxo/yii2-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. xiaogouxo/yii2-datepicker

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

xiaogouxo/yii2-datepicker
=========================

datepicker extension for yii2

06JavaScript

Since Dec 23Pushed 9y agoCompare

[ Source](https://github.com/falcolee/yii2-datepicker)[ Packagist](https://packagist.org/packages/xiaogouxo/yii2-datepicker)[ RSS](/packages/xiaogouxo-yii2-datepicker/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-datepicker
===============

[](#yii2-datepicker)

A simple datepicker extension for yii2.

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

[](#installation)

To install, either run

```
$ php composer.phar require xiaogouxo/yii2-datepicker "*"

```

or add

```
"xiaogouxo/yii2-datepicker": "*"

```

Simple Usage
============

[](#simple-usage)

```
    echo $form->field($model, 'date_range')->widget(\xiaogouxo\datepicker\pickerDateRange::classname(), [
        'jsOptions' => [
            'isTodayValid' => true,
            'defaultText' => " - "
        ]
    ]);

```

Requirements

- PHP 5.4.0 or newer

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8fbbc85f969923e58bd033c9ec59e20eba3258ac5fdc6bdb8f3b6f098ffc2e8e?d=identicon)[xiaogouxo](/maintainers/xiaogouxo)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/xiaogouxo-yii2-datepicker/health.svg)

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

###  Alternatives

[rezzza/formulate

Making life easier while writing complex math formulas, take a breath

1535.3k1](/packages/rezzza-formulate)

PHPackages © 2026

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