PHPackages                             navarr/precise-clocks - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. navarr/precise-clocks

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

navarr/precise-clocks
=====================

An implementation of PSR-20 that is precise within given confines

v1.0.1(8mo ago)14MITPHPPHP ^8.2CI passing

Since Nov 26Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/navarr/precise-clocks)[ Packagist](https://packagist.org/packages/navarr/precise-clocks)[ GitHub Sponsors](https://github.com/navarr)[ RSS](/packages/navarr-precise-clocks/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (2)Dependencies (10)Versions (4)Used By (0)

Specified Precision Clocks (PSR-20)
===================================

[](#specified-precision-clocks-psr-20)

[![Latest Stable Version](https://camo.githubusercontent.com/b1afa7b638179aa67e70278db28a160527c0fa04ebc9fdb143fe35de1b729f5c/687474703a2f2f706f7365722e707567782e6f72672f6e61766172722f707265636973652d636c6f636b732f76)](https://packagist.org/packages/navarr/precise-clocks)[![Total Downloads](https://camo.githubusercontent.com/dd76086c693a6275bfb3d7686f376be5dbc380384d5225fde8a0c52386a7ec8f/687474703a2f2f706f7365722e707567782e6f72672f6e61766172722f707265636973652d636c6f636b732f646f776e6c6f616473)](https://packagist.org/packages/navarr/precise-clocks)[![Latest Unstable Version](https://camo.githubusercontent.com/350f92aed5744fea70473faaf4baac781fc70723d829a6b3d083d83490ec77ac/687474703a2f2f706f7365722e707567782e6f72672f6e61766172722f707265636973652d636c6f636b732f762f756e737461626c65)](https://packagist.org/packages/navarr/precise-clocks)[![License](https://camo.githubusercontent.com/5a9b4eb278fafd36f5e26b7d0f523a838896683c86ad59ee147707bcd6b5df97/687474703a2f2f706f7365722e707567782e6f72672f6e61766172722f707265636973652d636c6f636b732f6c6963656e7365)](https://packagist.org/packages/navarr/precise-clocks)
[![Tests](https://github.com/navarr/precise-clocks/actions/workflows/commit.yml/badge.svg)](https://github.com/navarr/precise-clocks/actions/workflows/commit.yml/badge.svg)[![Code Coverage](https://camo.githubusercontent.com/1cf4119c54ce13a92700b34562572a5f241b500c1962ae453f6c9805625fc4c8/68747470733a2f2f636f6465636f762e696f2f67682f6e61766172722f707265636973652d636c6f636b732f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d4248544b4f5a5a445233)](https://camo.githubusercontent.com/1cf4119c54ce13a92700b34562572a5f241b500c1962ae453f6c9805625fc4c8/68747470733a2f2f636f6465636f762e696f2f67682f6e61766172722f707265636973652d636c6f636b732f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d4248544b4f5a5a445233)[![Mutation score](https://camo.githubusercontent.com/427fc5a845cf25396bff3358474f82e7420f918e566ace40f82dd0abf188b037/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d2532466e6176617272253246707265636973652d636c6f636b732532466d61696e)](https://dashboard.stryker-mutator.io/reports/github.com/navarr/precise-clocks/main)

This library contains implementations of PSR-20 that provides a clocks that are precise to their namesake, and while in the same time to that precision, return the exact same object.

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

[](#installation)

```
composer require navarr/precise-clocks:^1

```

Usage
-----

[](#usage)

```
use Navarr\PreciseClock\MinutePrecisionClock;

$clock = new MinutePrecisionClock();
$a = $clock->now();
$b = $clock->now();

spl_object_id($a) === spl_object_id($b); // true
```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance58

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Total

2

Last Release

269d ago

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

v1.0.1PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/24959115e049fb1d71612462e9106b345b3e0e6126439493514018cd440e8937?d=identicon)[navarr](/maintainers/navarr)

---

Top Contributors

[![navarr](https://avatars.githubusercontent.com/u/145128?v=4)](https://github.com/navarr "navarr (13 commits)")

---

Tags

hacktoberfest

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/navarr-precise-clocks/health.svg)

```
[![Health](https://phpackages.com/badges/navarr-precise-clocks/health.svg)](https://phpackages.com/packages/navarr-precise-clocks)
```

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[spomky-labs/otphp

A PHP library for generating one time passwords according to RFC 4226 (HOTP Algorithm) and the RFC 6238 (TOTP Algorithm) and compatible with Google Authenticator

1.5k50.3M167](/packages/spomky-labs-otphp)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

185701.7M5.6k](/packages/nesbot-carbon)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k51](/packages/ecotone-ecotone)[simplesamlphp/saml2

SAML2 PHP library from SimpleSAMLphp

30418.0M43](/packages/simplesamlphp-saml2)

PHPackages © 2026

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