PHPackages                             gabriel-peleskei/interrupt-handler - 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. gabriel-peleskei/interrupt-handler

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

gabriel-peleskei/interrupt-handler
==================================

Signal interrupt handling mechanism

1.0.1(7y ago)0371MITPHPPHP &gt;= 5.6.0

Since Dec 2Pushed 7y agoCompare

[ Source](https://github.com/gabriel-peleskei/php-interrupt-handler)[ Packagist](https://packagist.org/packages/gabriel-peleskei/interrupt-handler)[ RSS](/packages/gabriel-peleskei-interrupt-handler/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (3)Used By (1)

php-interrupt-handler
=====================

[](#php-interrupt-handler)

Requirement
-----------

[](#requirement)

PHP &gt;= 5.6

Usage
-----

[](#usage)

```
$handler = \GabrielPeleskei\InterruptHandler\Handler::getInstance();
$listener = $handler->register([SIGINT]);
while(true) {
    if ($lister->interrupt) {
        echo "SIGINT received...";
        break;
    }
}
```

For more examples, look into the /examples folder.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

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

Total

2

Last Release

2718d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/911cf8a568e24ac59fe65817c9435c2576856d7b6cfda431312395c00d73d92a?d=identicon)[gabriel-peleskei](/maintainers/gabriel-peleskei)

---

Top Contributors

[![gabriel-peleskei](https://avatars.githubusercontent.com/u/27891270?v=4)](https://github.com/gabriel-peleskei "gabriel-peleskei (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gabriel-peleskei-interrupt-handler/health.svg)

```
[![Health](https://phpackages.com/badges/gabriel-peleskei-interrupt-handler/health.svg)](https://phpackages.com/packages/gabriel-peleskei-interrupt-handler)
```

###  Alternatives

[cebe/yii2-gravatar

Gravatar Widget for Yii 2

441.8M35](/packages/cebe-yii2-gravatar)

PHPackages © 2026

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