PHPackages                             rikudou/clock - 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. rikudou/clock

AbandonedLibrary

rikudou/clock
=============

Simple DI clock implementation

v1.0.2(5y ago)1107.4k↓14.2%2MITPHPPHP &gt;=7.0

Since Aug 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/RikudouSage/Clock)[ Packagist](https://packagist.org/packages/rikudou/clock)[ RSS](/packages/rikudou-clock/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (2)

Simple library I wrote because I'm tired of writing it all the time for each project where I need current time.

Can be used with symfony via [rikudou/clock-bundle](https://packagist.org/packages/rikudou/clock-bundle).

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

[](#installation)

`composer require rikudou/clock`

Usage
-----

[](#usage)

1. Typehint the `\Rikudou\Clock\ClockInterface` as your dependency in whatever DI you use
2. You can now easily test your time dependent functions
3. ???
4. Profit

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

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

Total

3

Last Release

1982d ago

PHP version history (2 changes)v1.0.0PHP ^7.0

v1.0.2PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/34494ac1f08edc3758e51d84236ca1bdf384927e6444f2edb884e8cc585691b2?d=identicon)[RikudouSage](/maintainers/RikudouSage)

---

Top Contributors

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

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/rikudou-clock/health.svg)

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

PHPackages © 2026

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