PHPackages                             koriym/now - 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. koriym/now

Abandoned → [ray/indentify-value-module](/?search=ray%2Findentify-value-module)Library[Utility &amp; Helpers](/categories/utility)

koriym/now
==========

Pprovides current time

1.0.0(10y ago)17.4k1MITPHP

Since Nov 9Pushed 8y ago1 watchersCompare

[ Source](https://github.com/koriym/Koriym.Now)[ Packagist](https://packagist.org/packages/koriym/now)[ RSS](/packages/koriym-now/feed)WikiDiscussions 1.x Synced today

READMEChangelog (4)Dependencies (1)Versions (5)Used By (1)

Koriym.Now
==========

[](#koriymnow)

[![Build Status](https://camo.githubusercontent.com/209f5c22b1cb941054caf05f14997dac6331105e60bc00bc3c13cf8401f1dd87/68747470733a2f2f7472617669732d63692e6f72672f6b6f7269796d2f4b6f7269796d2e4e6f772e7376673f6272616e63683d312e78)](https://travis-ci.org/koriym/Koriym.Now)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/810ebae0f3fa6f9e06b7e8b063c0c720eb533e81f13548221d19ecd580b06450/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b6f7269796d2f4b6f7269796d2e4e6f772f6261646765732f7175616c6974792d73636f72652e706e673f623d312e78)](https://scrutinizer-ci.com/g/koriym/Koriym.Now/?branch=1.x)[![Code Coverage](https://camo.githubusercontent.com/713729081b749142f9271c652cb19682634eb1e0883fa76185cb1c18f528484b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b6f7269796d2f4b6f7269796d2e4e6f772f6261646765732f636f7665726167652e706e673f623d312e78)](https://scrutinizer-ci.com/g/koriym/Koriym.Now/?branch=1.x)

Provide current time with [NowInterface](https://github.com/koriym/Koriym.Now/blob/1.x/src/NowInterface.php)

Usage
=====

[](#usage)

```
use namespace Koriym\Now\Now;
use namespace Koriym\Now\FakeNow;

$now = new Now;
(string) $now // 2015-11-09 01:00:00

$fakeNow = new FakeNow;
(string) $fakeNow // 1970-01-01 00:00:00 = FakeNow::Time
```

For Ray.Di
==========

[](#for-raydi)

```
use namespace Koriym\Now\NowInterface;

public function configure()
{
    // prod
    $this->bind(NowInterface::class)->to(Now::class);
    // develop
    $this->bind(NowInterface::class)->to(FakeNow::class);
}
```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Total

5

Last Release

3206d ago

Major Versions

0.3.0 → 1.0.02016-01-26

### Community

Maintainers

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

---

Top Contributors

[![koriym](https://avatars.githubusercontent.com/u/529021?v=4)](https://github.com/koriym "koriym (18 commits)")

---

Tags

datetimetestabilitynow

### Embed Badge

![Health badge](/badges/koriym-now/health.svg)

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

###  Alternatives

[benhall14/php-calendar

A simple PHP class to generate calendars.

9926.8k](/packages/benhall14-php-calendar)[laravelplus/laravel-updater

A Laravel package for syncing with upstream repositories (GitHub, GitLab, Bitbucket, etc.)

222.0k](/packages/laravelplus-laravel-updater)

PHPackages © 2026

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