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

Abandoned → [kdyby/datetime-provider](/?search=kdyby%2Fdatetime-provider)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

kdyby/clock
===========

Time provider, providing consistent current date, time, datetime and timezone across the request.

v1.0.0(9y ago)1651.5k↓53.1%51BSD-3-ClausePHPPHP ^5.6 || ^7.0

Since Jul 13Pushed 8y ago5 watchersCompare

[ Source](https://github.com/Kdyby/Clock)[ Packagist](https://packagist.org/packages/kdyby/clock)[ Docs](http://kdyby.org)[ RSS](/packages/kdyby-clock/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (4)Versions (12)Used By (1)

Kdyby/Clock
===========

[](#kdybyclock)

[![Build Status](https://camo.githubusercontent.com/792226818bb32b72d4d189e44069322fd0d7d59c74e06c64fa34c71b530ae2b4/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f4b647962792f436c6f636b2e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/Kdyby/Clock)[![Downloads this Month](https://camo.githubusercontent.com/e16e04210de6fff3925aa69b2bff2a7cccb02c53762d13790393d4993aff0eea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6b647962792f636c6f636b2e737667)](https://packagist.org/packages/kdyby/clock)[![Latest stable](https://camo.githubusercontent.com/5817a8eb951a4484f2b0f8ac38bc1c6cfc26cf7e18c2844c66d7d96dc03e01b3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b647962792f636c6f636b2e737667)](https://packagist.org/packages/kdyby/clock)[![Coverage Status](https://camo.githubusercontent.com/4531d1fc4b1018e97b563aeebf53219908112e0005b33be810e54f2c556f24c3/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f4b647962792f436c6f636b2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/Kdyby/Clock?branch=master)

**This package is abandoned and no longer maintained. The author suggests using the [Kdyby/DateTimeProvider](https://packagist.org/packages/kdyby/datetime-provider) package instead.**

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

[](#installation)

The best way to install Kdyby/Clock is using [Composer](http://getcomposer.org/):

```
$ composer require kdyby/clock
```

Documentation
-------------

[](#documentation)

Learn more in the [documentation](https://github.com/Kdyby/Clock/blob/master/docs/en/index.md).

---

Homepage  and repository [http://github.com/kdyby/clock](http://github.com/kdyby/Clock).

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 91.9% 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 ~208 days

Recently: every ~124 days

Total

6

Last Release

3332d ago

Major Versions

v0.4.1 → v1.0.02017-05-19

PHP version history (3 changes)v0.4PHP &gt;=5.4

v0.4.1PHP &gt;=5.5

v1.0.0PHP ^5.6 || ^7.0

### Community

Maintainers

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

---

Top Contributors

[![fprochazka](https://avatars.githubusercontent.com/u/158625?v=4)](https://github.com/fprochazka "fprochazka (68 commits)")[![Majkl578](https://avatars.githubusercontent.com/u/144181?v=4)](https://github.com/Majkl578 "Majkl578 (5 commits)")[![richard-ejem](https://avatars.githubusercontent.com/u/7109726?v=4)](https://github.com/richard-ejem "richard-ejem (1 commits)")

---

Tags

nettetimedatekdyby

### Embed Badge

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

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

###  Alternatives

[knplabs/knp-time-bundle

Making your dates and durations look sensible and descriptive

6339.5M56](/packages/knplabs-knp-time-bundle)[league/period

Time range API for PHP

7335.8M23](/packages/league-period)[brick/date-time

Date and time library

3663.8M108](/packages/brick-date-time)[aeon-php/calendar

PHP type safe, immutable calendar library

20810.4M16](/packages/aeon-php-calendar)[tplaner/when

Date/Calendar recursion library.

5331.1M7](/packages/tplaner-when)[florianv/business

DateTime calculations in business hours

362784.1k1](/packages/florianv-business)

PHPackages © 2026

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