PHPackages                             phpninjas/signal - 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. phpninjas/signal

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

phpninjas/signal
================

v0.1.0(10y ago)017PHPPHP &gt;=5.5

Since Jul 25Pushed 10y ago1 watchersCompare

[ Source](https://github.com/phpninjas/Signal)[ Packagist](https://packagist.org/packages/phpninjas/signal)[ RSS](/packages/phpninjas-signal/feed)WikiDiscussions master Synced 6d ago

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

Signal
======

[](#signal)

Requirements
------------

[](#requirements)

pcntl library is REQUIRED for this to work.

Trapping Signals
----------------

[](#trapping-signals)

```
// Simple message trap
Signal::trap(Signal::USR2, function()use(){
    echo "caught a signal!";
});

```

Blocking/Unblocking Signals
---------------------------

[](#blockingunblocking-signals)

```
// Allows you to effectively ignore POSIX signals from the OS (except for KILL obviously)
Signal::block([Signal::USR2]);
Signal::unblock([Signal::USR2]);

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

3672d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/460cc058bda3ffbaade325c31806d0c9a677e9f605f22b1d191485d24677c8e3?d=identicon)[james.turner.phpninja@gmail.com](/maintainers/james.turner.phpninja@gmail.com)

---

Top Contributors

[![james-turner](https://avatars.githubusercontent.com/u/437893?v=4)](https://github.com/james-turner "james-turner (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/phpninjas-signal/health.svg)

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

###  Alternatives

[massive/build-bundle

Massive Art Build Bundle

471.5M13](/packages/massive-build-bundle)[paragonie/easy-ecc

Usabiliy Wrapper for mdanter/ecc

47729.9k13](/packages/paragonie-easy-ecc)[acquia/cohesion

Site Studio

261.7M13](/packages/acquia-cohesion)[ergebnis/license

Provides an abstraction of an open-source license.

142.6M104](/packages/ergebnis-license)[symfony/ux-toggle-password

Toggle visibility of password inputs for Symfony Forms

27626.9k5](/packages/symfony-ux-toggle-password)[cloudflare/cf-ip-rewrite

Library to rewrite CloudFlare IP Addresses to the end-user IP address

15903.7k8](/packages/cloudflare-cf-ip-rewrite)

PHPackages © 2026

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