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

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

sakhlab/yii2-datepicker
=======================

Bootstrap 3 Date/time picker widget for Yii2

02PHP

Since Apr 3Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Bootstrap 3 date/time picker widget for Yii2
============================================

[](#bootstrap-3-datetime-picker-widget-for-yii2)

Credits
-------

[](#credits)

Jonathan Peterson (@Eonasdan) for [Bootstrap 3 Date/Time Picker](https://github.com/Eonasdan/bootstrap-datetimepicker).

Antonio Ramirez (@tonydspaniard) for inspiration by [Bootstrap DatePicker Widget for Yii2](https://github.com/2amigos/yii2-date-picker-widget) and code examples.

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

[](#installation)

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

Either run

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

```

or add

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

to the `require` section of your application's `composer.json` file.

Usage
-----

[](#usage)

Please refer to the [Datepicker documentation](http://eonasdan.github.io/bootstrap-datetimepicker/) web page for options and examples of using Eonasdan's Datepicker widget.

To use widget as date/time picker, set appropriate format, e.g. 'L LT' (as in examples below). See [momentjs' docs](http://momentjs.com/docs/#/displaying/format/) for valid formats.

**With a model**

```

```

**Without a model**

```

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.8% 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/38f4b6b7a75fc2c51891ec63b86cd686caef8a5291595a3a87ce9d4592c57c5e?d=identicon)[merdoc](/maintainers/merdoc)

---

Top Contributors

[![RomeroMsk](https://avatars.githubusercontent.com/u/4639951?v=4)](https://github.com/RomeroMsk "RomeroMsk (7 commits)")[![yakovlev-vladimir](https://avatars.githubusercontent.com/u/689802?v=4)](https://github.com/yakovlev-vladimir "yakovlev-vladimir (2 commits)")

### Embed Badge

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

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

PHPackages © 2026

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