PHPackages                             fcovasquez/yii2-countdown - 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. fcovasquez/yii2-countdown

ActiveYii2-extension

fcovasquez/yii2-countdown
=========================

jQuery countdown widget for Yii2

v0.3.0(7y ago)048MITPHP

Since Mar 4Pushed 7y ago1 watchersCompare

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

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

This is a modified version of russ666/yii2-countdown.

Includes additional config parameters for widget initialization.

Installation
============

[](#installation)

download
--------

[](#download)

Download [latest version](https://github.com/fcovasquez/yii2-countdown/releases/latest)

composer
--------

[](#composer)

add this line to your composer.json `"fcovasquez/yii2-countdown": "*"`

Usage
=====

[](#usage)

```
echo \fcovasquez\widgets\Countdown::widget([
    'datetime' => date('Y-m-d H:i:s', time() + 1000),
    'config' => ['elapse' => true, 'precision' => , 'defer' => false,],
    'format' => '%M:%S',
    'events' => [
        'finish' => 'function(){location.reload()}',
    ],
])
```

Params
======

[](#params)

datetime
--------

[](#datetime)

Datetime string to countdown. Must be added with timezone, to prevent client-server timezone difference issue.

config
------

[](#config)

Configuration object for widget ()

events
------

[](#events)

Widget events ()

Plugin pages
============

[](#plugin-pages)

Homepage -

GitHub -

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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

Every ~588 days

Total

3

Last Release

2912d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4385c71ae2ce66ada2efff5e8bc158f4c7f308973d8b4993c5b5e3ab0301c8bf?d=identicon)[fvasquez](/maintainers/fvasquez)

---

Top Contributors

[![russ666](https://avatars.githubusercontent.com/u/2082587?v=4)](https://github.com/russ666 "russ666 (2 commits)")

---

Tags

jqueryyii2countdownwidget

### Embed Badge

![Health badge](/badges/fcovasquez-yii2-countdown/health.svg)

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

###  Alternatives

[russ666/yii2-countdown

jQuery countdown widget for Yii2

11100.0k](/packages/russ666-yii2-countdown)[diecoding/yii2-toastr

Simple flash toastr notifications for Yii2

1328.8k](/packages/diecoding-yii2-toastr)

PHPackages © 2026

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