PHPackages                             glennforrest/cli-date-formats - 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. [CLI &amp; Console](/categories/cli)
4. /
5. glennforrest/cli-date-formats

ActiveProject[CLI &amp; Console](/categories/cli)

glennforrest/cli-date-formats
=============================

CLI app to show commonly used date format tokens in your terminal

v1.0.4(4y ago)28[1 issues](https://github.com/glennforrest/cli-date-formats/issues)MITPHPPHP ^8.0

Since Feb 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/glennforrest/cli-date-formats)[ Packagist](https://packagist.org/packages/glennforrest/cli-date-formats)[ Docs](https://github.com/glennforrest/cli-date-formats)[ RSS](/packages/glennforrest-cli-date-formats/feed)WikiDiscussions main Synced 1mo ago

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

```
  _____        _         ______                         _
|  __ \      | |       |  ____|                       | |
| |  | | __ _| |_ ___  | |__ ___  _ __ _ __ ___   __ _| |_ ___
| |  | |/ _` | __/ _ \ |  __/ _ \| '__| '_ ` _ \ / _` | __/ __|
| |__| | (_| | ||  __/ | | | (_) | |  | | | | | | (_| | |_\__ \
|_____/ \__,_|\__\___| |_|  \___/|_|  |_| |_| |_|\__,_|\__|___/

This CLI application provides date formatting tokens for some of the
most commonly used libraries/packages/languages in your terminal.
```

[![](https://github.com/glennforrest/cli-date-formats/raw/main/assets/date-formats%20example%20output.png)](https://github.com/glennforrest/cli-date-formats/blob/main/assets/date-formats%20example%20output.png)

---

The following languages/packages are currently supported:

- [php](https://www.php.net/manual/en/datetime.format.php)
- [dayjs](https://day.js.org/docs/en/display/format)
- [momentjs](https://momentjs.com/docs/#/displaying/)

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

[](#installation)

`composer global require glennforrest/cli-date-formats`

### Command Options

[](#command-options)

```
date-formats

Description:
  Display date formats for a given language or package

Usage:
  date-formats [options] [--] []

Arguments:
  vendor                The language or package to show date formats for

Options:
      --compact         Show only the date formats
  -h, --help            Display help for the given command. When no command is given display help for the date-formats command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
      --env[=ENV]       The environment the command should run under
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
```

#### Example

[](#example)

```
date-formats php
```

---

Notice anything not working? Feel free to open up an issue [here](https://github.com/glennforrest/cli-date-formats/issues/new)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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 ~0 days

Total

5

Last Release

1543d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8139754d742ec53430a6efdf22c5baa48724e51af4f3fcd960eb0846ccba3a9e?d=identicon)[glennforrest](/maintainers/glennforrest)

---

Top Contributors

[![glennforrest](https://avatars.githubusercontent.com/u/12944411?v=4)](https://github.com/glennforrest "glennforrest (13 commits)")

---

Tags

cliterminalformatdatesdate formats

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/glennforrest-cli-date-formats/health.svg)

```
[![Health](https://phpackages.com/badges/glennforrest-cli-date-formats/health.svg)](https://phpackages.com/packages/glennforrest-cli-date-formats)
```

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

9.8k1.1B11.3k](/packages/symfony-console)[league/climate

PHP's best friend for the terminal. CLImate allows you to easily output colored text, special formats, and more.

1.9k14.0M273](/packages/league-climate)[php-school/cli-menu

A command line menu helper in PHP

2.0k1.1M27](/packages/php-school-cli-menu)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)[aplus/cli

Aplus Framework CLI Library

2301.7M6](/packages/aplus-cli)[splitbrain/php-cli

Easy command line scripts for PHP with opt parsing and color output. No dependencies

177817.2k28](/packages/splitbrain-php-cli)

PHPackages © 2026

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