seld/signal-handler
Lightweight PHP signal handling for CLI apps. Provides a simple API to register handlers for POSIX signals, integrate with event loops, and reliably dispatch callbacks. Ideal for daemons, workers, and long-running processes that need clean shutdowns.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-signal-aware-command | 0.79 | Add signal awareness to Laravel Artisan commands. Gracefully handle SIGINT/SIGTERM (Ctrl+C, container stop, deploy) to stop work cleanly, run shutdown logic, and avoid half-finished jobs—ideal for long-running CLI tasks and workers. | 167 | 168 | 11 | 810K | 0 | 13.5 | 55.2 | MIT | 6 months ago | |
| aboutcoders/process-control-bundle | 0.75 | Symfony bundle providing process control via a container service (abc.process_control.controller). Default PCNTL implementation listens for SIGTERM so long-running jobs can detect when to exit. Service registration can be disabled via configuration. | 4 | 5 | 0 | 34 | 0 | 0.0 | 12.3 | MIT | — | |
| sebastianfeldmann/cli | 0.70 | Lightweight PHP library for building CLI tools: defines commands and options, parses argv, validates input, and renders help/usage output. Clean API for composing console applications with consistent argument handling and exit codes. | 21 | 21 | 8 | 300K | 4 | 9.8 | 55.8 | MIT | 1 year ago | |
| php-school/terminal | 0.70 | php-school/terminal is a PHP library for building interactive terminal apps. It provides input/output helpers, ANSI styling, cursor control, and terminal state management, making it easy to create rich CLI UIs with prompts, menus, and formatted output. | 21 | 21 | 6 | 13K | 2 | 1.5 | 38.8 | — | 6 years ago |
How can I help you explore Laravel packages today?