PHPackages                             aeon-php/sleep - 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. aeon-php/sleep

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

aeon-php/sleep
==============

Improved sleep function that uses simple TimeUnit and decides between \\sleep and \\usleep

1.0.12(5mo ago)7341.4k↑26.5%14MITPHPPHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

Since Jul 16Pushed 3mo agoCompare

[ Source](https://github.com/aeon-php/sleep)[ Packagist](https://packagist.org/packages/aeon-php/sleep)[ Fund](https://flow-php.com/sponsor)[ GitHub Sponsors](https://github.com/norberttech)[ RSS](/packages/aeon-php-sleep/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (16)Used By (4)

Aeon
====

[](#aeon)

[![Minimum PHP Version](https://camo.githubusercontent.com/0e9ac047546796cfdbe1423d1f4d91c8f37d2fbb11614a7900bb7686aaa5401f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e342d3838393242462e737667)](https://php.net/)[![Latest Stable Version](https://camo.githubusercontent.com/f69c58e97175e14041f2cde09ef28fc2fd0da714751f8852a2a0bfed8043db9d/68747470733a2f2f706f7365722e707567782e6f72672f61656f6e2d7068702f736c6565702f76)](https://packagist.org/packages/aeon-php/sleep)[![Latest Unstable Version](https://camo.githubusercontent.com/b0425870f3419e976db514c4cf9e5b3d5ce8898312c37c0d7af5cd6f64cd26c3/68747470733a2f2f706f7365722e707567782e6f72672f61656f6e2d7068702f736c6565702f762f756e737461626c65)](https://packagist.org/packages/aeon-php/sleep)[![License](https://camo.githubusercontent.com/9c4c54deaadb162364c5ba7b0b86b40512f149818490e61e7757bb750da22d28/68747470733a2f2f706f7365722e707567782e6f72672f61656f6e2d7068702f736c6565702f6c6963656e7365)](https://packagist.org/packages/aeon-php/sleep)[![Tests](https://github.com/aeon-php/sleep/workflows/Tests/badge.svg?branch=1.x)](https://github.com/aeon-php/sleep/workflows/Tests/badge.svg?branch=1.x)[![Mutation testing badge](https://camo.githubusercontent.com/58f3fa15e52254374270d09ff1a8c5405cf938a2813c4afc82936c69258fe4e1/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d25324661656f6e2d706870253246736c656570253246312e78)](https://dashboard.stryker-mutator.io/reports/github.com/aeon-php/sleep/1.x)

Time Management Framework for PHP

> The word aeon /ˈiːɒn/, also spelled eon (in American English), originally meant "life", "vital force" or "being", "generation" or "a period of time", though it tended to be translated as "age" in the sense of "ages", "forever", "timeless" or "for eternity".

[Source: Wikipedia](https://en.wikipedia.org/wiki/Aeon)

Aeon is a set of libraries that makes easier to work with PHP Date &amp; Time in elegant Object Oriented way.

- [Documentation &amp; Examples](https://aeon-php.org/docs/sleep/)
- [Contributing &amp; Development](https://github.com/aeon-php/.github/blob/master/CONTRIBUTING.md)
- [Community](https://github.com/orgs/aeon-php/discussions)

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance75

Regular maintenance activity

Popularity39

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 58.2% 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 ~134 days

Recently: every ~257 days

Total

16

Last Release

118d ago

Major Versions

0.6.0 → 1.0.02021-06-20

PHP version history (6 changes)0.1.0PHP &gt;=7.4.2

1.0.0PHP ^7.4.2 || ^8.0

1.0.8PHP ~8.1.10 || ~8.2

1.0.11PHP ~8.2.0 || ~8.3.0 || ~8.4.0

1.0.12PHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

1.x-devPHP ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/52325810?v=4)[norbert-tech](/maintainers/norbert-tech)[@norbert-tech](https://github.com/norbert-tech)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (159 commits)")[![norberttech](https://avatars.githubusercontent.com/u/1921950?v=4)](https://github.com/norberttech "norberttech (64 commits)")[![aeon-automation](https://avatars.githubusercontent.com/u/77585774?v=4)](https://github.com/aeon-automation "aeon-automation (50 commits)")

---

Tags

aeonphpsleepcalendarholidaysimmutablesleep

### Embed Badge

![Health badge](/badges/aeon-php-sleep/health.svg)

```
[![Health](https://phpackages.com/badges/aeon-php-sleep/health.svg)](https://phpackages.com/packages/aeon-php-sleep)
```

###  Alternatives

[aeon-php/calendar

PHP type safe, immutable calendar library

2079.7M16](/packages/aeon-php-calendar)[aeon-php/calendar-holidays

Holidays calendar abstraction layer for Aeon Time management framework

14212.4k3](/packages/aeon-php-calendar-holidays)[aeon-php/business-hours

Abstraction allowing to define and check against business hours

10135.8k](/packages/aeon-php-business-hours)[holidayapi/holidayapi-php

Official PHP library for Holiday API

35213.3k1](/packages/holidayapi-holidayapi-php)[moe/full-calendar

A lightweight calendar module for Silverstripe. Implements the popular javascript http://fullcalendar.io/ library.

121.5k](/packages/moe-full-calendar)

PHPackages © 2026

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