PHPackages                             mageok/cli-signal-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. [CLI &amp; Console](/categories/cli)
4. /
5. mageok/cli-signal-handler

ActiveLibrary[CLI &amp; Console](/categories/cli)

mageok/cli-signal-handler
=========================

0.2(3y ago)04MITPHPPHP ^7.4 || ^8.0

Since Jun 30Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mageok/cli-signal-handler)[ Packagist](https://packagist.org/packages/mageok/cli-signal-handler)[ RSS](/packages/mageok-cli-signal-handler/feed)WikiDiscussions main Synced today

READMEChangelog (1)DependenciesVersions (3)Used By (0)

cli-signal-handler
==================

[](#cli-signal-handler)

Sets or removes CTRL event handlers, which allows CLI processes to intercept or ignore CTRL+C and CTRL+BREAK events.

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

[](#installation)

Install the package via composer

```
composer require mageok/cli-signal-handler
```

Documentation
-------------

[](#documentation)

```
use Mageok\CliSignalHandler\CliCtrlScheduler;

CliCtrlScheduler::registerCtrlCEvent($handler1);
CliCtrlScheduler::registerCtrlCEvent($handler2);
```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

1099d ago

PHP version history (2 changes)0.1PHP ^7.4

0.2PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/21968193?v=4)[dabaojiao](/maintainers/mageok)[@mageok](https://github.com/mageok)

---

Top Contributors

[![mageok](https://avatars.githubusercontent.com/u/21968193?v=4)](https://github.com/mageok "mageok (3 commits)")

### Embed Badge

![Health badge](/badges/mageok-cli-signal-handler/health.svg)

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

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3275.4k1](/packages/tomatophp-filament-artisan)

PHPackages © 2026

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