PHPackages                             m1ke/date-helper - 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. m1ke/date-helper

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

m1ke/date-helper
================

Quick CLI date helper to avoid needing to check the reference

1.0.2(7y ago)011MITPHP

Since Aug 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/M1ke/php-date-helper)[ Packagist](https://packagist.org/packages/m1ke/date-helper)[ RSS](/packages/m1ke-date-helper/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (4)Used By (0)

PHP Date Helper
===============

[](#php-date-helper)

Provides quick date formatting key in CLI.

Install with composer, global is ideal:

```
composer global require m1ke/date-helper

```

It's useful to have your composer global bin directory in your `$PATH`; the directory is usually: `$HOME/.composer/vendor/bin/`

If you have it in your `$PATH` you can run this from any command line with `php-date-helper` and it will produce the following output:

```
d/j Date of month (with/out leading zeroes)
D/l Day text (short/long)
S   Suffix st,nd,rd,th
z   Day of year
F/M Month text (long/short)
m/n Month (with/out leading zeroes)
Y/y Year (4/2 digit)
a/A am or pm
h/g Hour (12hr, with/out leading zeroes)
H/G Hour (24hr, with/out leading zeries)
i   Minutes
s   Seconds
u   Microseconds

```

Contributions to add more dates or improve wording/formatting are welcome!

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

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

Every ~0 days

Total

3

Last Release

2829d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e13cb42c1a004c15c986cc3ac59424757dd04b25ed4068146e41812f0410338?d=identicon)[m1ke](/maintainers/m1ke)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/m1ke-date-helper/health.svg)

```
[![Health](https://phpackages.com/badges/m1ke-date-helper/health.svg)](https://phpackages.com/packages/m1ke-date-helper)
```

###  Alternatives

[surfsidemedia/shoppingcart

Laravel Shoppingcart

1712.6k](/packages/surfsidemedia-shoppingcart)

PHPackages © 2026

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