PHPackages                             decodelabs/kairos - 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. decodelabs/kairos

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

decodelabs/kairos
=================

Time and date utilities

v0.2.1(7mo ago)02.0k2MITPHPPHP ^8.4CI passing

Since Jun 6Pushed 5mo agoCompare

[ Source](https://github.com/decodelabs/kairos)[ Packagist](https://packagist.org/packages/decodelabs/kairos)[ RSS](/packages/decodelabs-kairos/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (8)Dependencies (7)Versions (10)Used By (2)

Kairos
======

[](#kairos)

[![PHP from Packagist](https://camo.githubusercontent.com/b0d1c77499d580cf59d41771614ce704c08dec3b877f8cf02f328898b1583509/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6465636f64656c6162732f6b6169726f733f7374796c653d666c6174)](https://packagist.org/packages/decodelabs/kairos)[![Latest Version](https://camo.githubusercontent.com/aa82c359f5179f0dedfdc5e9259a7729f0e11ded2d68e069a0e8c38e1912d6a0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6465636f64656c6162732f6b6169726f732e7376673f7374796c653d666c6174)](https://packagist.org/packages/decodelabs/kairos)[![Total Downloads](https://camo.githubusercontent.com/b36ccd07f2275eabc5e9fc80a1ddeab224692e81a127fda08ba8325f1a9b58eb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6465636f64656c6162732f6b6169726f732e7376673f7374796c653d666c6174)](https://packagist.org/packages/decodelabs/kairos)[![GitHub Workflow Status](https://camo.githubusercontent.com/f54389b4f5162f9ad2ffc8de85b4db94e30d0c0f85060b7124df2f4e2f7829ae/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6465636f64656c6162732f6b6169726f732f696e746567726174652e796d6c3f6272616e63683d646576656c6f70)](https://github.com/decodelabs/kairos/actions/workflows/integrate.yml)[![PHPStan](https://camo.githubusercontent.com/e25c14ce011edabdd0fbd2e10415b41cc5d66ed11ef3e5b7edd074c5bdd35a2d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d3434434331312e7376673f6c6f6e6743616368653d74727565267374796c653d666c6174)](https://github.com/phpstan/phpstan)[![License](https://camo.githubusercontent.com/84772feaa8975c728ab2f3921ad368c8cfe519405ccbf23e07ac33f075fe88bf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6465636f64656c6162732f6b6169726f733f7374796c653d666c6174)](https://packagist.org/packages/decodelabs/kairos)

### Time and date utilities

[](#time-and-date-utilities)

Kairos provides simple time and date tools for PHP.

---

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

[](#installation)

This package requires PHP 8.4 or higher.

Install via Composer:

```
composer require decodelabs/kairos
```

Usage
-----

[](#usage)

Currently, Kairos contains a simple `Timer` class that can be used to measure elapsed time in PHP scripts.

```
use DecodeLabs\Kairos\Timer;

$timer = new Timer();
sleep(1);
$elapsed = $timer->time;
sleep(1);
$total = $timer->stop();
```

More coming soon.

Licensing
---------

[](#licensing)

Kairos is licensed under the MIT License. See [LICENSE](./LICENSE) for the full license text.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance67

Regular maintenance activity

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

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

Total

8

Last Release

227d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a241d64d12b3b5ee94197862ec1ec30b82ed2efa34a0cd7f4c3565a021daddd?d=identicon)[betterthanclay](/maintainers/betterthanclay)

---

Top Contributors

[![betterthanclay](https://avatars.githubusercontent.com/u/1273586?v=4)](https://github.com/betterthanclay "betterthanclay (29 commits)")

### Embed Badge

![Health badge](/badges/decodelabs-kairos/health.svg)

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

###  Alternatives

[flow-php/etl

PHP ETL - Extract Transform Load - Abstraction

374468.4k51](/packages/flow-php-etl)[intervention/zodiac

Zodiac Sign Calculator

58191.7k](/packages/intervention-zodiac)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40129.3k2](/packages/erlandmuchasaj-laravel-gzip)[kylekatarnls/carbonite

Freeze, accelerate, slow down time and many more with Carbon.

22273.2k1](/packages/kylekatarnls-carbonite)

PHPackages © 2026

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