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

ActiveYii2-extension

nex/yii2-datepicker
===================

Bootstrap 3 Date/time picker widget for Yii2

1053.9k↓15.8%10[1 issues](https://github.com/RomeroMsk/yii2-datepicker/issues)2PHP

Since Jan 30Pushed 6y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (2)

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

31

—

LowBetter than 68% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.6% 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/3385f78b2ae48f5a9e78fb808572231e3ccdf0a8ffe7af9a164be6cfe8a4d49e?d=identicon)[RomeroMsk](/maintainers/RomeroMsk)

---

Top Contributors

[![RomeroMsk](https://avatars.githubusercontent.com/u/4639951?v=4)](https://github.com/RomeroMsk "RomeroMsk (11 commits)")[![georgezim85](https://avatars.githubusercontent.com/u/8793514?v=4)](https://github.com/georgezim85 "georgezim85 (1 commits)")[![squio](https://avatars.githubusercontent.com/u/169410?v=4)](https://github.com/squio "squio (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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