PHPackages                             betelgeyzua/format-date - 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. betelgeyzua/format-date

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

betelgeyzua/format-date
=======================

Otus home work #4

v1.0.2(4y ago)011PHPPHP &gt;=7.4

Since Feb 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/betelgeyzUA/format-date)[ Packagist](https://packagist.org/packages/betelgeyzua/format-date)[ RSS](/packages/betelgeyzua-format-date/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (4)Used By (0)

DateFormatter
=============

[](#dateformatter)

Date Convert
============

[](#date-convert)

A small library to convert a date string in date in words, multi language RU, UA, EN.

Require this package with composer.

```
composer require betelgeyzua/format-date
```

### Simple Usage

[](#simple-usage)

The original date string must be supplied in the date format ('01-01-2022', '01.01.2022', etc.).

An example usage is shown below:

```
use Betelgeyzua\FormatDate\DateFormatter;

$formatter = new DateFormatter(); // Create object DateFormatter;
$formatter->instance(); // returns object Betelgeyzua\FormatDate

$date_in_word = $formatter->instance()->dateInWords('02.07.2022'); // returns 02 Июля 2022 default language RU
$date_in_word = $formatter->instance()->dateInWords('02.07.2022', 'ua'); // returns 02 Липня 2022
$date_in_word = $formatter->instance()->dateInWords('02.07.2022', 'en'); // returns 02 July 2022
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

Total

3

Last Release

1538d ago

### Community

Maintainers

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

---

Tags

phplibrary

### Embed Badge

![Health badge](/badges/betelgeyzua-format-date/health.svg)

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

PHPackages © 2026

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