PHPackages                             faryshta/yii2-clockpicker - 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. faryshta/yii2-clockpicker

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

faryshta/yii2-clockpicker
=========================

Yii2 wrapper for clockpicker (clock-like time picker) plugin

1.0.0(10y ago)39.7k↓33.3%3[2 PRs](https://github.com/Faryshta/yii2-clockpicker/pulls)BSD-3-ClausePHP

Since Jan 22Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Faryshta/yii2-clockpicker)[ Packagist](https://packagist.org/packages/faryshta/yii2-clockpicker)[ Docs](https://github.com/Faryshta/yii2-clockpicker)[ RSS](/packages/faryshta-yii2-clockpicker/feed)WikiDiscussions master Synced 1mo ago

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

Faryshta Yii2 ClockPicker
=========================

[](#faryshta-yii2-clockpicker)

[![Latest Stable Version](https://camo.githubusercontent.com/d59451023d526afaa9ddd81ce3267bfbc5de61cd797c42950511843c3c6b3e8f/68747470733a2f2f706f7365722e707567782e6f72672f66617279736874612f796969322d636c6f636b7069636b65722f762f737461626c65)](https://packagist.org/packages/faryshta/yii2-clockpicker) [![Total Downloads](https://camo.githubusercontent.com/526f7c328efb51d6ba4a143fc69a2cd7a79c4cdc8a82bcf7583951ccbc8546b2/68747470733a2f2f706f7365722e707567782e6f72672f66617279736874612f796969322d636c6f636b7069636b65722f646f776e6c6f616473)](https://packagist.org/packages/faryshta/yii2-clockpicker) [![Latest Unstable Version](https://camo.githubusercontent.com/c93736d15c93bf351561ffd96116741dc1aa1a359794847231c39990593f8e38/68747470733a2f2f706f7365722e707567782e6f72672f66617279736874612f796969322d636c6f636b7069636b65722f762f756e737461626c65)](https://packagist.org/packages/faryshta/yii2-clockpicker) [![License](https://camo.githubusercontent.com/04e3dd89c247db6f29628482badb41b980bf27365ccbbfba247bcd9dff8162e3/68747470733a2f2f706f7365722e707567782e6f72672f66617279736874612f796969322d636c6f636b7069636b65722f6c6963656e7365)](https://packagist.org/packages/faryshta/yii2-clockpicker)

Bootstrap and Jquery Yii2 widgets for [clockpicker](https://github.com/weareoutman/clockpicker)(clock-like time picker) jquery plugin

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

[](#installation)

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

Either run

```
composer require --prefer-dist "faryshta/yii2-clockpicker:*"
```

or add

```
"faryshta/yii2-clockpicker": "*"

```

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

If you want to use the Bootstrap ClockPicker you need to include the `yiisoft/yii2-bootstrap` extension

```
composer require --prefer-dist "yiisoft/yii2-bootstrap:*"
```

or add

```
"yiisoft/yii2-bootstrap": "*"

```

Usage
-----

[](#usage)

### Jquery

[](#jquery)

In the view file register the asset:

```
use farystha\widgets\JqueryClockPicker;

// with ActiveForm
echo $form->field($model, 'attribute')->widget(JqueryClockPicker::className() [
    // extra configuration
]);

// without ActiveForm and with model.
echo JqueryClockPicker::widget([
    'model' => $person,
    'attribute' => 'gender',
]);
```

### Bootstrap

[](#bootstrap)

In the view file register the asset:

```
use farystha\widgets\BootstrapClockPicker;

// with ActiveForm
echo $form->field($model, 'attribute')->widget(BootstrapClockPicker::className() [
    // extra configuration
]);

// without ActiveForm and with model.
echo BootstrapClockPicker::widget([
    'model' => $person,
    'attribute' => 'gender',
]);
```

Documentation
-------------

[](#documentation)

This library doesn't define anything new, the widgets classes are very similar to the class [\\yii\\bootstrap\\Widget](http://www.yiiframework.com/doc-2.0/yii-bootstrap-widget.html) which can be used as documentation for the widget classes.

The JS options can be passed using the `$clientOptions` property and the events can be declared using the `$clientEvents` property. [The documentation on all the options and events supported by clockpicker can be found here.](http://weareoutman.github.io/clockpicker/)

License
-------

[](#license)

The BSD License (BSD). Please see [License File](LICENSE.md) for more information.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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

Unknown

Total

1

Last Release

3763d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d5f64412ef020f8c137ff5c7f5e4a0866271f2f9ba9584e5a24aa48467f958d?d=identicon)[Faryshta](/maintainers/Faryshta)

---

Top Contributors

[![Faryshta](https://avatars.githubusercontent.com/u/2029247?v=4)](https://github.com/Faryshta "Faryshta (14 commits)")[![madand](https://avatars.githubusercontent.com/u/2280844?v=4)](https://github.com/madand "madand (2 commits)")

---

Tags

jqueryyii2yiitimepickerclockpicker

### Embed Badge

![Health badge](/badges/faryshta-yii2-clockpicker/health.svg)

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

###  Alternatives

[nullref/yii2-datatables

Yii2 Extension for DataTables jQuery plug-in

7290.3k](/packages/nullref-yii2-datatables)[faryshta/yii2-disable-submit-buttons

Yii2 asset to automatically disable submit buttons on Yii2 ActiveForm.

16458.9k](/packages/faryshta-yii2-disable-submit-buttons)[brussens/yii2-maintenance-mode

Maintenance mode component for Yii framework 2.x.x version.

78256.3k5](/packages/brussens-yii2-maintenance-mode)

PHPackages © 2026

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