PHPackages                             dostoevskiy/wdate - 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. dostoevskiy/wdate

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

dostoevskiy/wdate
=================

02PHP

Since Dec 14Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

### Установка

[](#установка)

```
composer create-project -s dev dostoevskiy/wdate wdate

```

### Использование

[](#использование)

#### Получение отформатированной даты

[](#получение-отформатированной-даты)

Выполняем скрипт с указанием даты для вывода отформатрованной даты

```
composer run-script format 01.01.2018
> dostoevskiy\wdate\Runner::getFormattedDate
01 января

```

### Сравнение дат

[](#сравнение-дат)

Выполняем скрипт с указанием 2-х дат для вывода отформатрованного результата сравнения

```
composer run-script compare "14.02.2017" "01: 14.02.2017"
> dostoevskiy\wdate\Runner::compare
Вторая дата больше первой

composer run-script compare 14.02.2017 14.02.2017
> dostoevskiy\wdate\Runner::compare
Даты равны

composer run-script compare 14.02.2017 10:00:12
> dostoevskiy\wdate\Runner::compare
Первая дата больше второй

```

### Тесты

[](#тесты)

Всё настроено, нужно просто запустить

```
composer run-script test

```

в корне проекта

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d03fc2a2f82003dcee4529fc8c6f6e51e7cab4b768cc2e584a07ae0aaabd2435?d=identicon)[dostoevskiy-spb](/maintainers/dostoevskiy-spb)

---

Top Contributors

[![dostoevskiy-spb](https://avatars.githubusercontent.com/u/3033489?v=4)](https://github.com/dostoevskiy-spb "dostoevskiy-spb (7 commits)")

### Embed Badge

![Health badge](/badges/dostoevskiy-wdate/health.svg)

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

###  Alternatives

[vpietri/adm-quickdevbar

QuickDevBar is a developer toolbar for magento 2

577348.6k](/packages/vpietri-adm-quickdevbar)[minime/annotations

The KISS PHP annotations library

229378.6k36](/packages/minime-annotations)[data-uri/data-uri

PHP DataURI component

60627.5k4](/packages/data-uri-data-uri)[friendsoftypo3/frontend-editing

Enable editors to work with the content in the most intuitive way possible

110123.8k2](/packages/friendsoftypo3-frontend-editing)[rockettheme/toolbox

RocketTheme Toolbox Library

22526.9k3](/packages/rockettheme-toolbox)[holiday-jp/holiday_jp

Japanese holidays

20161.3k](/packages/holiday-jp-holiday-jp)

PHPackages © 2026

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