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

ActiveSilverstripe-module[Utility &amp; Helpers](/categories/utility)

textagroup/countdown
====================

Add a countdown widget to a page

v1.0.0(10y ago)1982BSD-3-ClausePHP

Since Aug 21Pushed 10y ago1 watchersCompare

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

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

SilverStripe Countdown Widget
=============================

[](#silverstripe-countdown-widget)

Maintainer Contact
------------------

[](#maintainer-contact)

- Kirk Mayo (Nickname: textagroup)

Requirements
------------

[](#requirements)

- SilverStripe 3.1

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

[](#documentation)

Adds a countdown widget to a SilverStripe page widget

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

[](#installation)

```
composer require "textagroup/countdown"

```

Setup
-----

[](#setup)

To setup a countdown timer the first thing to do is to apply the CoundownWidgetExtension to the page object.

This can be setup in the config yml file as per the example below which will add it to all pages

```
Page:
  extensions:
    - CountdownWidgetExtension

```

or alternatively you can apply the extension through some PHP code

```
Member::add_extension('MyMemberExtension');

```

This will add a countdown tab to the page in the CMS where you can set the Countdown date and the format of the countdown.

Then you need to setup where you want the countdown to appear by adding the the variable $Countdown to the relevant SilverStripe template.

```

                $Countdown
                $Layout

```

This will add a div or span to your page with a Countdown timer you can then style the div or span with CSS via the relavant class which defaults to CountdownClock but can be amended via the CMS you can also amend the deafult element ID which defaults to clock

[See the following page for examples and information of the jQuery module used](http://hilios.github.io/jQuery.countdown/)

Functionality
-------------

[](#functionality)

This module adds a countdown timer to a SilverStripe page and a date field to the cms section for the page which is used to set the countdown date

\##TO DO

- Testing
- Maybe more countdown clock styles
- Internationalisation

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

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

3826d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/337336c48c947ac51fcfbb6ec3d018a6703b63d29d7080d283d714ccd71f0d91?d=identicon)[kmayo-ss](/maintainers/kmayo-ss)

---

Top Contributors

[![textagroup](https://avatars.githubusercontent.com/u/1495580?v=4)](https://github.com/textagroup "textagroup (7 commits)")

---

Tags

silverstripecountdownwidget

### Embed Badge

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

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

###  Alternatives

[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1371.1M85](/packages/silverstripe-userforms)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[lekoala/silverstripe-softdelete

Soft delete extension for SilverStripe

11236.3k](/packages/lekoala-silverstripe-softdelete)

PHPackages © 2026

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