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(6y ago)5562.4k—5.2%GPL-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 today

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

### 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 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community2

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

2538d 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

[dama/doctrine-test-bundle

Symfony bundle to isolate doctrine database tests and improve test performance

1.2k36.1M118](/packages/dama-doctrine-test-bundle)[vierge-noire/cakephp-fixture-factories

CakePHP Dynamic Fixtures

84822.2k6](/packages/vierge-noire-cakephp-fixture-factories)[friends-of-phpspec/phpspec-code-coverage

Generate Code Coverage reports for PhpSpec tests

202.5M109](/packages/friends-of-phpspec-phpspec-code-coverage)[jbzoo/ci-report-converter

The tool converts different error reporting standards for deep integration with popular CI systems (TeamCity, IntelliJ IDEA, GitHub Actions, etc)

29783.4k2](/packages/jbzoo-ci-report-converter)[aik099/phpunit-mink

Library for using Mink in PHPUnit tests. Supports session sharing between tests in a test case.

71136.0k1](/packages/aik099-phpunit-mink)[janmarek/mockista

Mockista is library for mocking, which I've written, because I find mocking in PHPUnit awful.

29220.3k22](/packages/janmarek-mockista)

PHPackages © 2026

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