PHPackages                             juanjimeneztj/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. juanjimeneztj/countdown

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

juanjimeneztj/countdown
=======================

CountDown version 4.0.0

4.0.0(5y ago)114MITJavaScript

Since Jan 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/juanjimeneztj/gswebCountDown4.0.0)[ Packagist](https://packagist.org/packages/juanjimeneztj/countdown)[ RSS](/packages/juanjimeneztj-countdown/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

gswebCountDown4.0.0
===================

[](#gswebcountdown400)

CountDown version 4.0.0

### Use:

[](#use)

Initialize the div wherever you need the counter with the following lines:

```

```

```

    $('#gswebCountDown').gswebCountDown({
        date: "May 23, 2020 23:59:59 GMT-0400"
    });

```

### Script required

[](#script-required)

The following lines of code are required to run this plugin:

```

```

```

```

Or you can use this from our server

```

```

### Parameters

[](#parameters)

We can use parameters in this counter, below you have all the parameters you can use:

**Description of all parameters**

ParameterDescription`theme`You have two options in this parameter, the **default** option and the **red** one, in the *default* option you will have a counter with the following example:
[![](https://camo.githubusercontent.com/8950cee60e4fcc45f133f6b87906fa748e7022974b15358e1ca498988cf4b109/687474703a2f2f6a75616e6a696d656e657a746a2e636f6d2f706c7567696e732f6773776562436f756e74446f776e342e302e302f696d616765732f53637265656e73686f745f312e706e67)](https://camo.githubusercontent.com/8950cee60e4fcc45f133f6b87906fa748e7022974b15358e1ca498988cf4b109/687474703a2f2f6a75616e6a696d656e657a746a2e636f6d2f706c7567696e732f6773776562436f756e74446f776e342e302e302f696d616765732f53637265656e73686f745f312e706e67)
In the *red* option you will have a counter with the following example:
[![](https://camo.githubusercontent.com/5562259755c77a3c7507afd0eab1543dd15f1770982c1ef93e8851da49f8f34d/687474703a2f2f6a75616e6a696d656e657a746a2e636f6d2f706c7567696e732f6773776562436f756e74446f776e342e302e302f696d616765732f53637265656e73686f745f322e706e67)](https://camo.githubusercontent.com/5562259755c77a3c7507afd0eab1543dd15f1770982c1ef93e8851da49f8f34d/687474703a2f2f6a75616e6a696d656e657a746a2e636f6d2f706c7567696e732f6773776562436f756e74446f776e342e302e302f696d616765732f53637265656e73686f745f322e706e67)
**here is an example:**
 [![](https://camo.githubusercontent.com/c625c9539ef41448e39c4759b2e687846b7bccb73477c00045df994560104e27/687474703a2f2f6a75616e6a696d656e657a746a2e636f6d2f706c7567696e732f6773776562436f756e74446f776e342e302e302f696d616765732f53637265656e73686f745f332e706e67)](https://camo.githubusercontent.com/c625c9539ef41448e39c4759b2e687846b7bccb73477c00045df994560104e27/687474703a2f2f6a75616e6a696d656e657a746a2e636f6d2f706c7567696e732f6773776562436f756e74446f776e342e302e302f696d616765732f53637265656e73686f745f332e706e67)
`type`In this case, **'type'** you can receive two additional parameters to the default one that is *'default'*, it is used for the way you want to receive the values in the counter, you can receive them within a **DIV** if you pass the parameter *type: 'div'*, or you can receive them inside **SPAN** tags if you pass the parameter *type: 'span'*.`lbldays`This parameter is to choose if you want the Days to be shown in the counter, if you do not want this parameter to be shown in the counter, only change the value to *false*.`lblhours`This parameter is to choose if you want the Hours to be shown in the counter, if you do not want this parameter to be shown in the counter, only change the value to *false*.`lblminutes`This parameter is to choose if you want the Minutes to be shown in the counter, if you do not want this parameter to be shown in the counter, only change the value to *false*.`lblseconds`This parameter is to choose if you want the Seconds to be shown in the counter, if you do not want this parameter to be shown in the counter, only change the value to *false*.`labels`This parameter is to choose if you want the labels to be shown in the counter, if you do want this parameter to be shown in the counter, only change the value to *true*.`date`This parameter is **optional**. If you want to use the counter using the **date format**, you must pass to this parameter *'date'* in the following format: *date: "May 23, 2020 23:59:59 GMT-0400"* . If you want to manually add the days, hours, minutes and seconds to the counter, you can leave the value of *'date'* in *'null'* and use the parameters below.`days`Set this parameter to the days you want to start the counter.`hours`Set this parameter to the Hours you want to start the counter.`minutes`Set this parameter to the Minutes you want to start the counter.`seconds`Set this parameter to the Seconds you want to start the counter.**Default Parameters**

ParameterDefault Values`theme`default`type`default`lbldays`true`lblhours`true`lblminutes`true`lblseconds`true`labels`false`date`null`days`0`hours`0`minutes`0`seconds`0

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

1941d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2a87a182f5ee004f1bb64ae09db42f8cc2c36574c0c129105e3b8ec4a7bf6b0d?d=identicon)[juanjimeneztj](/maintainers/juanjimeneztj)

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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