PHPackages                             marbie77/emailcountdown - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. marbie77/emailcountdown

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

marbie77/emailcountdown
=======================

Email Countdown class to generate GIF

2.1.1(1y ago)937.2k↑127.3%5MITPHPPHP &gt;=7.1.0

Since Oct 28Pushed 1y ago2 watchersCompare

[ Source](https://github.com/MarBie77/EmailCountdown)[ Packagist](https://packagist.org/packages/marbie77/emailcountdown)[ Docs](https://github.com/MarBie77/EmailCountdown)[ RSS](/packages/marbie77-emailcountdown/feed)WikiDiscussions master Synced 1mo ago

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

EmailCountdown
==============

[](#emailcountdown)

Just some simple PHP classes to generate a countdown (60 seconds GIF animation) to be used as fake counter in an email

The image itself works with Outlook, but it shows only the first frame of the GIF animation.

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

[](#installation)

Use [Composer](https://getcomposer.org) to install it

```
composer require marbie77/emailcountdown

```

Usage
-----

[](#usage)

Create the class, use the options and output the GIF.

```
$emailCountdown = (new EmailCountdown\CircleCountdown())->setDestinationTime(! empty($_GET['dest_time']) ? $_GET['dest_time'] : null)
    ->setTextColor(! empty($_GET['text_color']) ? $_GET['text_color'] : null)
    ->setBackgroundColor(! empty($_GET['background_color']) ? $_GET['background_color'] : null);

// content type gif
header('Content-Type: image/gif');
// no caching of gif, so it gets reloaded every time
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
echo $emailCountdown->getGIFAnimation();
```

Examples
--------

[](#examples)

To check the examples, first install dependencies with `composer install`

Then navigate to *example.php* or *example\_wallpoet.php*

Changelog
---------

[](#changelog)

2.1.1

- adding PR for removing deprecation messages from @simoheinonen

2.1.0

- adding PR for setting max frames from @simoheinonen

2.0.1

- adding new function to customize shown text and position
- adding font Wallpoet-Regular to show additional example (example\_wallpoet.php)

2.0.0

- added PHPDocs and new coding standards i.e.
    - removed all underscores from properties and methods
    - using camelCase now
- includes PR from @igumenov - thank you!

1.0.0

- Initial version

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~979 days

Total

4

Last Release

550d ago

Major Versions

1.0.0 → 2.0.12017-07-27

PHP version history (2 changes)1.0.0PHP &gt;=5.3.0

2.0.1PHP &gt;=7.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e3e1384db715d5c0514d55a789f077d50de2958032bb7a006129e1e9c716f213?d=identicon)[marbie77](/maintainers/marbie77)

---

Top Contributors

[![MarBie77](https://avatars.githubusercontent.com/u/18697886?v=4)](https://github.com/MarBie77 "MarBie77 (12 commits)")[![simoheinonen](https://avatars.githubusercontent.com/u/3840367?v=4)](https://github.com/simoheinonen "simoheinonen (2 commits)")[![igumenov](https://avatars.githubusercontent.com/u/8152022?v=4)](https://github.com/igumenov "igumenov (1 commits)")

---

Tags

emailcountdown

### Embed Badge

![Health badge](/badges/marbie77-emailcountdown/health.svg)

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

###  Alternatives

[egulias/email-validator

A library for validating emails against several RFCs

11.6k691.3M307](/packages/egulias-email-validator)[sendgrid/sendgrid

This library allows you to quickly and easily send emails through Twilio SendGrid using PHP.

1.5k47.5M164](/packages/sendgrid-sendgrid)[pelago/emogrifier

Converts CSS styles into inline style attributes in your HTML code

94944.1M110](/packages/pelago-emogrifier)[zbateson/mail-mime-parser

MIME email message parser

54149.2M79](/packages/zbateson-mail-mime-parser)[soundasleep/html2text

A PHP script to convert HTML into a plain text format

48519.5M75](/packages/soundasleep-html2text)[opcodesio/mail-parser

Parse emails without the mailparse extension

226.8M8](/packages/opcodesio-mail-parser)

PHPackages © 2026

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