PHPackages                             innmind/time-warp - 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. innmind/time-warp

Abandoned → [innmind/time](/?search=innmind%2Ftime)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

innmind/time-warp
=================

Time warp

5.1.0(4mo ago)1103.3k—9.4%11MITPHPPHP ~8.4CI passing

Since Sep 23Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/Innmind/TimeWarp)[ Packagist](https://packagist.org/packages/innmind/time-warp)[ Docs](http://github.com/Innmind/TimeWarp)[ RSS](/packages/innmind-time-warp/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (5)Dependencies (5)Versions (12)Used By (1)

TimeWarp
========

[](#timewarp)

[![Build Status](https://github.com/innmind/timewarp/workflows/CI/badge.svg?branch=master)](https://github.com/innmind/timewarp/actions?query=workflow%3ACI)[![codecov](https://camo.githubusercontent.com/941c4fd5275892838a30ba433378b7cc2b6bbb08a844f294582c78a4228bae30/68747470733a2f2f636f6465636f762e696f2f67682f696e6e6d696e642f74696d65776172702f6272616e63682f646576656c6f702f67726170682f62616467652e737667)](https://codecov.io/gh/innmind/timewarp)[![Type Coverage](https://camo.githubusercontent.com/aa1eed8e7f7e1c1ea01de56c74043ced9a17dfbe0ad97604cfcc0d41411795f6/68747470733a2f2f73686570686572642e6465762f6769746875622f696e6e6d696e642f74696d65776172702f636f7665726167652e737667)](https://shepherd.dev/github/innmind/timewarp)

Important

This project has been replaced by [`innmind/time`](https://github.com/Innmind/time)

Small library to abstract the way to halt the program.

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

[](#installation)

```
composer require innmind/time-warp
```

Usage
-----

[](#usage)

```
use Innmind\TimeWarp\Halt;
use Innmind\TimeContinuum\Period;

function yourApp(Halt $halt): void
{
    // do something
    $halt(Period::minute(42))->unwrap();
    // do some more
}

yourApp(Halt::new());
```

This example will halt your program for 42 minutes.

Logging
-------

[](#logging)

```
use Innmind\TimeWarp\Halt;
use Psr\Log\LoggerInterface;

$halt = Halt::logger($halt, /** an instance of LoggerInterface */);
```

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance80

Actively maintained with recent releases

Popularity33

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 99% 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 ~296 days

Recently: every ~68 days

Total

10

Last Release

121d ago

Major Versions

1.0.0 → 2.0.02020-01-06

2.2.0 → 3.0.02022-02-06

3.0.0 → 4.0.02025-04-20

4.1.1 → 5.0.02026-01-17

PHP version history (6 changes)1.0.0PHP ~7.2

2.0.0PHP ~7.4

2.2.0PHP ~7.4|~8.0

3.0.0PHP ~8.0

4.0.0PHP ~8.2

5.0.0PHP ~8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/851425?v=4)[Baptiste Langlade](/maintainers/Baptouuuu)[@Baptouuuu](https://github.com/Baptouuuu)

---

Top Contributors

[![Baptouuuu](https://avatars.githubusercontent.com/u/851425?v=4)](https://github.com/Baptouuuu "Baptouuuu (103 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")

---

Tags

timewarp

### Embed Badge

![Health badge](/badges/innmind-time-warp/health.svg)

```
[![Health](https://phpackages.com/badges/innmind-time-warp/health.svg)](https://phpackages.com/packages/innmind-time-warp)
```

###  Alternatives

[symfony/clock

Decouples applications from the system clock

431168.9M205](/packages/symfony-clock)[knplabs/knp-time-bundle

Making your dates and durations look sensible and descriptive

6308.9M39](/packages/knplabs-knp-time-bundle)[league/period

Time range API for PHP

7335.4M21](/packages/league-period)[wapmorgan/morphos

A morphological solution for Russian and English language written completely in PHP. Provides classes to inflect personal names, geographical names, decline and pluralize nouns, generate cardinal and ordinal numerals, spell out money amounts and time.

8351.3M7](/packages/wapmorgan-morphos)[brick/date-time

Date and time library

3623.3M61](/packages/brick-date-time)[aeon-php/calendar

PHP type safe, immutable calendar library

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

PHPackages © 2026

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