PHPackages                             mcustiel/mockable-datetime - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. mcustiel/mockable-datetime

ActiveLibrary[Testing &amp; Quality](/categories/testing)

mcustiel/mockable-datetime
==========================

A DateTime library that allows mock dates and times in UnitTests.

v2.0.0(7y ago)5562.4k—5.2%1GPL-3.0+PHP &gt;=5.3

Since May 25Compare

[ Source](https://github.com/mcustiel/mockable-datetime)[ Packagist](https://packagist.org/packages/mcustiel/mockable-datetime)[ RSS](/packages/mcustiel-mockable-datetime/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (1)Versions (8)Used By (1)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/mcustiel/mockable-datetime).

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Total

5

Last Release

2585d ago

Major Versions

v1.1.2 → v2.0.02019-04-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d9b3ff93206038debfa1f16a11bbfc10fca9b2f4ddfdafa00e27365d290cf0d?d=identicon)[mcustiel](/maintainers/mcustiel)

---

Tags

libraryteststimedatemocks

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mcustiel-mockable-datetime/health.svg)

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

###  Alternatives

[mockery/mockery

Mockery is a simple yet flexible PHP mock object framework

10.7k497.0M23.4k](/packages/mockery-mockery)[phpspec/phpspec

Specification-oriented BDD framework for PHP 7.1+

1.9k36.7M3.1k](/packages/phpspec-phpspec)[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

596161.9M1.9k](/packages/dealerdirect-phpcodesniffer-composer-installer)[dama/doctrine-test-bundle

Symfony bundle to isolate doctrine database tests and improve test performance

1.2k37.2M143](/packages/dama-doctrine-test-bundle)[thedoctor0/laravel-factory-generator

Automatically generate Laravel factories for your models.

214997.4k1](/packages/thedoctor0-laravel-factory-generator)[typo3/testing-framework

The TYPO3 testing framework provides base classes for unit, functional and acceptance testing.

675.0M772](/packages/typo3-testing-framework)

PHPackages © 2026

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