PHPackages                             chebur/datetime-factory - 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. chebur/datetime-factory

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

chebur/datetime-factory
=======================

DateTimeFactoryInterface with mutable and immutable implementations

0.0.2(5y ago)0111MITPHPPHP ^7.1.3

Since May 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/vchebotarev/datetime-factory)[ Packagist](https://packagist.org/packages/chebur/datetime-factory)[ Docs](https://github.com/vchebotarev)[ RSS](/packages/chebur-datetime-factory/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (1)

datetime-factory
================

[](#datetime-factory)

[![PHP requirements](https://camo.githubusercontent.com/fa99ad8184e7ce58634218792d5ee7d2068304897b167f145ffcd0b52398fb15/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6368656275722f6461746574696d652d666163746f72792e737667)](https://packagist.org/packages/chebur/datetime-factory "PHP requirements")[![Latest version](https://camo.githubusercontent.com/08e349452091315a7f624d1da683fbdad84d164328e353325c629045f854d106/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6368656275722f6461746574696d652d666163746f72792e737667)](https://packagist.org/packages/chebur/datetime-factory "Last version")[![Total downloads](https://camo.githubusercontent.com/8fb931d1d0f09973e4aa1bbbeb3ca7de9632fb7983d697f14e676844d70a1a9c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6368656275722f6461746574696d652d666163746f72792e737667)](https://packagist.org/packages/chebur/datetime-factory "Total downloads")[![License](https://camo.githubusercontent.com/3373f3e733b34a57f0995d423278706bbfa683311017f0e55ba2e73488e6acce/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6368656275722f6461746574696d652d666163746f72792e737667)](https://packagist.org/packages/chebur/datetime-factory "License")

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

[](#installation)

Require it with composer:

```
composer require chebur/datetime-factory
```

Configuration
-------------

[](#configuration)

### Symfony

[](#symfony)

```
services:
    # Alias
    Chebur\DateTimeFactory\DateTimeFactoryInterface: '@chebur.datetime_factory'

    # Service implementing DateTimeFactoryInterface, you can change it with your own implementation
    chebur.datetime_factory:
        class: Chebur\DateTimeFactory\DateTimeFactory
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

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

Total

2

Last Release

2183d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2bf9046069b7d485fc6a2df5411cd2089a6154a831ea480d96261e28aed35983?d=identicon)[vchebotarev](/maintainers/vchebotarev)

---

Top Contributors

[![vchebotarev](https://avatars.githubusercontent.com/u/2445241?v=4)](https://github.com/vchebotarev "vchebotarev (6 commits)")

---

Tags

factorydatetime

### Embed Badge

![Health badge](/badges/chebur-datetime-factory/health.svg)

```
[![Health](https://phpackages.com/badges/chebur-datetime-factory/health.svg)](https://phpackages.com/packages/chebur-datetime-factory)
```

###  Alternatives

[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k394.3M1.5k](/packages/nette-utils)[league/period

Time range API for PHP

7335.4M21](/packages/league-period)[morilog/jalali

This Package helps developers to easily work with Jalali (Shamsi or Iranian) dates in PHP applications, based on Jalali (Shamsi) DateTime class.

9201.2M45](/packages/morilog-jalali)[brick/date-time

Date and time library

3623.3M61](/packages/brick-date-time)[aeon-php/calendar

PHP type safe, immutable calendar library

2079.7M16](/packages/aeon-php-calendar)[tplaner/when

Date/Calendar recursion library.

5261.0M5](/packages/tplaner-when)

PHPackages © 2026

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