PHPackages                             smarteng/yii2-daterange-picker - 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. smarteng/yii2-daterange-picker

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

smarteng/yii2-daterange-picker
==============================

DateRangePicker widget for Yii2.

v1.8.2(9y ago)015BSD-3-ClauseJavaScript

Since Aug 5Pushed 9y ago1 watchersCompare

[ Source](https://github.com/smarteng/yii2-daterange-picker)[ Packagist](https://packagist.org/packages/smarteng/yii2-daterange-picker)[ Docs](https://github.com/smarteng/yii2-daterange-picker)[ RSS](/packages/smarteng-yii2-daterange-picker/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (7)Used By (0)

yii2-daterange-picker
=====================

[](#yii2-daterange-picker)

yii2-daterange-picker

### 使用方法

[](#使用方法)

```
use jerryteng\daterangepicker\DateRangePicker;
echo DateRangePicker::widget([
        'id'=>'filtertime',
        'options' => array(
            'isTodayValid'=> true,
            'startDate' =>'',
            'endDate'=>'',
            //'magicSelect'=>true,
            'autoSubmit'=>true,
            'defaultText'=>'/',
            //'inputTrigger'=>'input_trigger_demo4',
            'success'=>"function(obj) { $('#filtertime').val(obj.startDate + '/' + obj.endDate).change(); }"
        )
    ]);

```

```

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

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

Every ~0 days

Total

6

Last Release

3616d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/663786?v=4)[smarteng](/maintainers/smarteng)[@smarteng](https://github.com/smarteng)

---

Top Contributors

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

---

Tags

yii2extensionwidgetdaterangepickersmarteng

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/smarteng-yii2-daterange-picker/health.svg)

```
[![Health](https://phpackages.com/badges/smarteng-yii2-daterange-picker/health.svg)](https://phpackages.com/packages/smarteng-yii2-daterange-picker)
```

###  Alternatives

[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1358.5k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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