NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #390 most downloaded on Packagist
Simple unix signal handler that silently fails where signals are not supported for easy cross-platform development
Last release 3 years ago
no release in 18 months
Ships fairly regularly
a new release about every 1.1 years
Nearly every release is documented
notes for 7 of 7 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
7 releases · first in 2015
Added .gitattributes to reduce vendor size by @vtsykun in #11
Full Changelog: 2.0.1...2.0.2
Fixed PHPStan type annotations
One column per quarter.
BC Break: On PHP 8.0+ the result of SignalHandler::create() MUST now be stored in a variable even if you handle signals via the callback, as otherwise
SignalHandler::create() MUST now be stored in a variable even if you handle signals via the callback, as otherwise the weak reference will be garbage collected immediately and the handler will never be called. See README for more details.SignalHandler class is now finalSignalHandler constructor is now private as it should anyway only be created via ::create()unregister() now clears a handler instance fully and you do not need to pass which signals you want to clear anymore.exitWithLastSignal method on signal handler which you should use if you want to exit() the process when a signal was received/handled. This hints to the parent process which signaled that the process was terminated due to the signal.Full Changelog: 1.3.0...2.0.0
Dropped support for PHP <7.1 which allows dropping ticks for performance reasons ( #6 , #7 ) If you used declare(ticks = 1); previously you should now
Added support for unregistering signal handlers
Added PHP7.1 support for async signal handling
* Initial release
Your coding agent can read these notes before it upgrades. Set up the MCP server →