PHPackages                             tangniyuqi/yii2-laydate - 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. tangniyuqi/yii2-laydate

ActiveYii2-widget

tangniyuqi/yii2-laydate
=======================

The laydate widget laydate the Yii framework

1.0.3(8y ago)0251MITPHP

Since May 11Pushed 8y ago1 watchersCompare

[ Source](https://github.com/tangniyuqi/yii2-laydate)[ Packagist](https://packagist.org/packages/tangniyuqi/yii2-laydate)[ Docs](https://github.com/tangniyuqi/yii2-laydate)[ RSS](/packages/tangniyuqi-yii2-laydate/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Install
-------

[](#install)

add `tangniyuqi/yii2-laydate` to composer.json

```
$ composer install
```

```
$ php composer.phar require tangniyuqi/yii2-laydate "*"

```

or add

```
"tangniyuqi/yii2-laydate": "*"

```

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

Usage
-----

[](#usage)

in view:

```
use tangniyuqi\assets\LayDateAsset;

LayDateAsset::register($this);

```

or

```
echo $form->field($model, 'birth')->widget('tangniyuqi\laydate\LayDate', [
        'format' => 'Y',
        'clientOptions' => [
            'type' => 'year', //see http://www.layui.com/doc/modules/laydate.html#type
            'format' => 'yyyy', //see http://www.layui.com/doc/modules/laydate.html#format
        ]
    ]);

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

2925d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/74ff0d4956d7c2de79e8f184f16b7e62b88e836a83060d2dc41f60a983875b4b?d=identicon)[tangniyuqi](/maintainers/tangniyuqi)

---

Top Contributors

[![tangniyuqi](https://avatars.githubusercontent.com/u/5830538?v=4)](https://github.com/tangniyuqi "tangniyuqi (10 commits)")

---

Tags

yii2widgetlaydate

### Embed Badge

![Health badge](/badges/tangniyuqi-yii2-laydate/health.svg)

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

###  Alternatives

[softark/yii2-dual-listbox

Bootstrap Dual Listbox Widget for Yii 2

20144.4k11](/packages/softark-yii2-dual-listbox)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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