PHPackages                             kelunik/loop-block - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. kelunik/loop-block

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

kelunik/loop-block
==================

Detect blocking ticks in the Amp event loop.

v1.0.0(8y ago)277.2k23MITPHP

Since Sep 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/kelunik/loop-block)[ Packagist](https://packagist.org/packages/kelunik/loop-block)[ RSS](/packages/kelunik-loop-block/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (3)

loop-block
==========

[](#loop-block)

Detect blocking ticks in an event loop based on the PHP [event loop standard](https://github.com/async-interop/event-loop).

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

[](#installation)

```
$ composer install kelunik/loop-block

```

Usage
-----

[](#usage)

You can instantiate a new `BlockDetector`. Its constructor takes a callback to be executed on blocks, a threshold in milliseconds, and an interval to configure how often the check is executed.

Once the loop runs, you can call `BlockDetector::start` to start the detection. `BlockDetector::stop` stops the detection again.

License
-------

[](#license)

[MIT](./LICENSE).

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

2

Last Release

3258d ago

Major Versions

v0.1.0 → v1.0.02017-06-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/12852217f3369e8144bc9ce6ac2a2341c28c5512c5b3df5749bfbbd45b6877ff?d=identicon)[kelunik](/maintainers/kelunik)

---

Top Contributors

[![kelunik](https://avatars.githubusercontent.com/u/2743004?v=4)](https://github.com/kelunik "kelunik (9 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/kelunik-loop-block/health.svg)

```
[![Health](https://phpackages.com/badges/kelunik-loop-block/health.svg)](https://phpackages.com/packages/kelunik-loop-block)
```

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)[beyondcode/helo-laravel

HELO Laravel debug helper

90360.1k](/packages/beyondcode-helo-laravel)

PHPackages © 2026

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