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

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

uhi67/yii2-datepicker
=====================

Bootstrap 3 Date/time picker widget for Yii2

2.0(4y ago)016BSD-3-ClausePHP

Since Oct 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/uhi67/yii2-datepicker)[ Packagist](https://packagist.org/packages/uhi67/yii2-datepicker)[ Docs](https://github.com/RomeroMsk/yii2-datepicker)[ RSS](/packages/uhi67-yii2-datepicker/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

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

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

A Yii2 date-time picker widget based on bower-asset/eonasdan-bootstrap-datetimepicker

**Version 2.0**

*Limited BS4 compatibility, it just works*

*For Bootstrap 3 compatibility, use 1.x version.*

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. RomeroMsk for the previous version

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

[](#installation)

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

Either run

```
php composer.phar require "uhi67/yii2-datepicker":"^2.0"

```

or add

```
  "uhi67/yii2-datepicker":"^2.0"

```

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**

```

```

Changes
-------

[](#changes)

### 2.0 -- 2021-10-20

[](#20----2021-10-20)

- Bootstrap4 compatible version (limited)

### 1.0 -- 2021-10-20

[](#10----2021-10-20)

- Version number is added

### 2020-01-10/uhi67

[](#2020-01-10uhi67)

- Hungarian translations added
- Now works with DateTime and integer attribute values

### 2019-04-18/uhi67

[](#2019-04-18uhi67)

- Now works with DateTime attribute values

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 51.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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1665d ago

Major Versions

1.0 → 2.02021-10-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ad1219ce8d5edfe285bbe8b2f13f3075f4b87311f42e5e227b31b1159418ea1?d=identicon)[uhi67](/maintainers/uhi67)

---

Top Contributors

[![educ-auto](https://avatars.githubusercontent.com/u/208080521?v=4)](https://github.com/educ-auto "educ-auto (16 commits)")[![RomeroMsk](https://avatars.githubusercontent.com/u/4639951?v=4)](https://github.com/RomeroMsk "RomeroMsk (11 commits)")[![uhi67](https://avatars.githubusercontent.com/u/7422173?v=4)](https://github.com/uhi67 "uhi67 (2 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)")

---

Tags

yii2extensionwidgetbootstrapdatepickerDateTimePicker

### Embed Badge

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

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

PHPackages © 2026

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