PHPackages                             bupy7/yii2-date-range-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. bupy7/yii2-date-range-picker

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

bupy7/yii2-date-range-picker
============================

Wrapper of bootstrap date range picker for Yii2.

v1.0.1(10y ago)0701BSD-3-ClausePHP

Since Dec 11Pushed 10y ago1 watchersCompare

[ Source](https://github.com/bupy7/yii2-date-range-picker)[ Packagist](https://packagist.org/packages/bupy7/yii2-date-range-picker)[ RSS](/packages/bupy7-yii2-date-range-picker/feed)WikiDiscussions master Synced 1mo ago

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

yii2-date-range-picker
======================

[](#yii2-date-range-picker)

[![Latest Stable Version](https://camo.githubusercontent.com/1ea6e968d619c24b6bd8f31f9586959c6cb2bf72320bf200c853898066006156/68747470733a2f2f706f7365722e707567782e6f72672f62757079372f796969322d646174652d72616e67652d7069636b65722f762f737461626c65)](https://packagist.org/packages/bupy7/yii2-date-range-picker)[![Total Downloads](https://camo.githubusercontent.com/889660ddda9451254c27646d3f66a852b1bb52be95e751568963dde772c4aeb1/68747470733a2f2f706f7365722e707567782e6f72672f62757079372f796969322d646174652d72616e67652d7069636b65722f646f776e6c6f616473)](https://packagist.org/packages/bupy7/yii2-date-range-picker)[![Latest Unstable Version](https://camo.githubusercontent.com/68254eda5317c18e0f400d5a29ba70b661b95146d06e20e55bbe63d12248b429/68747470733a2f2f706f7365722e707567782e6f72672f62757079372f796969322d646174652d72616e67652d7069636b65722f762f756e737461626c65)](https://packagist.org/packages/bupy7/yii2-date-range-picker)[![License](https://camo.githubusercontent.com/e3201e6c3ccca9c974c7290b55c016a7aeabc4b84ac98b509a11f29891fa5ab1/68747470733a2f2f706f7365722e707567782e6f72672f62757079372f796969322d646174652d72616e67652d7069636b65722f6c6963656e7365)](https://packagist.org/packages/bupy7/yii2-date-range-picker)

Wrapper of bootstrap date range picker for Yii2.

More information about plugin:

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist bupy7/yii2-date-range "*"

```

or add

```
"bupy7/yii2-date-range": "*"

```

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

Usage
-----

[](#usage)

As field of form:

```
echo $form->field($model, 'date_range')->widget(DateRangePicker::className(), [
    'pluginOptions' => [
        // see http://www.daterangepicker.com/#options
    ],

    'pluginEvents' => [
        // see http://www.daterangepicker.com/#events
    ],

    // Language of plugin. If `null` then `\yii\base\Application::language` will be used.
    'language' => 'ru',

    // Converting date format from PHP DateTime to Moment.js DateTime.
    'convertDateFormat' => true,

    // Options of field input.
    'options' => [

    ],
]);
```

As an independent widget:

```
DateRangePicker::widget([
    'name' => 'date_time',

    'pluginOptions' => [
        // see http://www.daterangepicker.com/#options
    ],

    'pluginEvents' => [
        // see http://www.daterangepicker.com/#events
    ],

    // Language of plugin. If `null` then `\yii\base\Application::language` will be used.
    'language' => 'ru',

    // Converting date format from PHP DateTime to Moment.js DateTime.
    'convertDateFormat' => true,

    // Options of field input.
    'options' => [

    ],
]);
```

\##License

yii2-date-range-picker is released under the BSD 3-Clause License.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

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

2

Last Release

3804d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f2f9ee20b742a44db8870955cd27b91bb82c14e08dd61a4e096692c9d9d83302?d=identicon)[bupy7](/maintainers/bupy7)

---

Top Contributors

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

---

Tags

dateyii2extensionbootstrappickerrange

### Embed Badge

![Health badge](/badges/bupy7-yii2-date-range-picker/health.svg)

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

###  Alternatives

[kartik-v/yii2-date-range

An advanced Yii 2 date range picker input for based on bootstrap-daterangepicker plugin.

894.4M42](/packages/kartik-v-yii2-date-range)[kartik-v/yii2-widget-datepicker

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

1097.0M60](/packages/kartik-v-yii2-widget-datepicker)[kartik-v/yii2-field-range

Easily manage Yii 2 ActiveField ranges (from/to) with Bootstrap 3 addons markup and more

232.1M26](/packages/kartik-v-yii2-field-range)[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-sortable

Create sortable lists and grids using HTML5 drag and drop API for Yii 2.0.

433.8M13](/packages/kartik-v-yii2-sortable)[kartik-v/yii2-sortable-input

Sortable input widget based on yii2-sortable extension.

24660.4k2](/packages/kartik-v-yii2-sortable-input)

PHPackages © 2026

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