PHPackages                             m0r0z0vd/st - 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. m0r0z0vd/st

ActiveLibrary

m0r0z0vd/st
===========

Simple timer

v1.0(5y ago)04MITPHPCI failing

Since May 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/m0r0z0vd/st)[ Packagist](https://packagist.org/packages/m0r0z0vd/st)[ RSS](/packages/m0r0z0vd-st/feed)WikiDiscussions master Synced today

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

Simple timer
============

[](#simple-timer)

Delays the program execution for the given number of `float $seconds`.

### Example usage

[](#example-usage)

```
$timer = new SimpleTimer();
$startTime = microtime(true);
$timer->wait(0.1); // will do sleep for 100 ms
$endTime = microtime(true);
$diff = round($endTime - $startTime, 2);
var_dump($diff);

```

You will see:

```
double(0.1)

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Unknown

Total

1

Last Release

2178d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/60073606?v=4)[Dmytro Morozov](/maintainers/m0r0z0vd)[@m0r0z0vd](https://github.com/m0r0z0vd)

---

Top Contributors

[![m0r0z0vd](https://avatars.githubusercontent.com/u/60073606?v=4)](https://github.com/m0r0z0vd "m0r0z0vd (2 commits)")

### Embed Badge

![Health badge](/badges/m0r0z0vd-st/health.svg)

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

###  Alternatives

[timacdonald/log-fake

A drop in fake logger for testing with the Laravel framework.

4235.9M54](/packages/timacdonald-log-fake)[jasonmccreary/laravel-test-assertions

A set of helpful assertions when testing Laravel applications.

3513.9M31](/packages/jasonmccreary-laravel-test-assertions)[ergebnis/phpunit-slow-test-detector

Provides facilities for detecting slow tests in phpunit/phpunit.

1468.1M72](/packages/ergebnis-phpunit-slow-test-detector)[typo3/testing-framework

The TYPO3 testing framework provides base classes for unit, functional and acceptance testing.

675.0M773](/packages/typo3-testing-framework)[robiningelbrecht/phpunit-pretty-print

Prettify PHPUnit output

76460.0k15](/packages/robiningelbrecht-phpunit-pretty-print)[webmozarts/strict-phpunit

Enables type-safe comparisons of objects in PHPUnit

31252.7k5](/packages/webmozarts-strict-phpunit)

PHPackages © 2026

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