PHPackages                             thesis/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. thesis/clock

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

thesis/clock
============

Thesis Clock

0.1.0(1y ago)039MITMakefilePHP ^8.3CI passing

Since May 9Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/thesis-php/clock)[ Packagist](https://packagist.org/packages/thesis/clock)[ Fund](https://www.tinkoff.ru/cf/5MqZQas2dk7)[ RSS](/packages/thesis-clock/feed)WikiDiscussions 0.1.x Synced 1mo ago

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

Thesis Clock
============

[](#thesis-clock)

[![PHP Version Requirement](https://camo.githubusercontent.com/c975c4f7248e54e6e38cc6eb4772c901c5dcbdba16cfccfe2217e5a953df7359/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f7468657369732f636c6f636b2f706870)](https://packagist.org/packages/thesis/clock)[![GitHub Release](https://camo.githubusercontent.com/95ffc000cf389a35ef6de5ca362498570f255e7c96748008d15c82ce52cd411d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f7468657369732d7068702f636c6f636b)](https://github.com/thesis-php/clock/releases)[![Code Coverage](https://camo.githubusercontent.com/dcc87b9a32da46b778fd8b49269bd856296a28c3a99596795cfd69226645d162/68747470733a2f2f636f6465636f762e696f2f67682f7468657369732d7068702f636c6f636b2f6272616e63682f302e312e782f67726170682f62616467652e737667)](https://codecov.io/gh/thesis-php/clock/tree/0.1.x)[![Mutation testing badge](https://camo.githubusercontent.com/5f6a0d25813f99cf88b1282c11558cf10e7863059f9ab585c5aa447fad20eaa6/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d2532467468657369732d706870253246636c6f636b253246302e312e78)](https://dashboard.stryker-mutator.io/reports/github.com/thesis-php/clock/0.1.x)

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

[](#installation)

```
composer require thesis/clock
```

Usage
-----

[](#usage)

`WallClock` is a basic implementation of the [`Psr\Clock\ClockInterface`](https://www.php-fig.org/psr/psr-20/) that returns the current wall-clock time.

```
use Thesis\Time\WallClock;

$clock = new WallClock();

echo $clock->now()->format('c'); // Outputs current time in ISO 8601 format
```

Or with a specific timezone:

```
$clock = new WallClock(new DateTimeZone('Europe/Moscow'));

echo $clock->now()->format('c'); // Outputs Moscow time in ISO 8601 format
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance61

Regular maintenance activity

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity42

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

Total

2

Last Release

164d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2552865?v=4)[Valentin Udaltsov](/maintainers/vudaltsov)[@vudaltsov](https://github.com/vudaltsov)

---

Top Contributors

[![vudaltsov](https://avatars.githubusercontent.com/u/2552865?v=4)](https://github.com/vudaltsov "vudaltsov (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[lcobucci/clock

Yet another clock abstraction

796190.9M114](/packages/lcobucci-clock)[symfony/clock

Decouples applications from the system clock

431168.9M205](/packages/symfony-clock)[eventsauce/eventsauce

A pragmatic event sourcing library for PHP with a focus on developer experience.

8632.1M47](/packages/eventsauce-eventsauce)[ecotone/ecotone

Supporting you in building DDD, CQRS, Event Sourcing applications with ease.

558549.8k17](/packages/ecotone-ecotone)[mcp/sdk

Model Context Protocol SDK for Client and Server applications in PHP

1.4k423.9k30](/packages/mcp-sdk)[flow-php/etl

PHP ETL - Extract Transform Load - Abstraction

374468.4k51](/packages/flow-php-etl)

PHPackages © 2026

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