friendsofhyperf/command-signals
Adds Unix signal handling to Hyperf commands, so long-running console and worker processes can catch SIGTERM, SIGINT, and related signals for graceful shutdown, resource cleanup, and safer deployments without abrupt termination.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| hyperf/signal | 0.90 | Signal handling component for Hyperf. Register annotation-based handlers for OS signals such as SIGTERM, SIGHUP, and SIGUSR1, dispatching them safely in coroutine contexts to enable graceful shutdown and custom signal-driven workflows. | 3 | — | 0 | — | 0 | 11.8 | — | MIT | 4 months ago |
|
| kfosoft/symfony-daemonizable-command | 0.79 | A Symfony package for building daemonizable console commands. Run long-lived CLI workers with lifecycle controls, signal handling, and graceful shutdown so background Symfony commands stay manageable and reliable. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 6 years ago | |
| hyperf/process | 0.78 | Hyperf/Process adds robust process management to Hyperf applications, making it easy to define custom processes, control their lifecycle, handle signals, and run isolated workers alongside the coroutine server. Ideal for background jobs, queues, and long-running tasks. | 6,912 | 1 | 1,296 | 69K | 365 | 78.8 | 46.3 | MIT | 3 weeks ago | |
| friendsofhyperf/pretty-console | 0.77 | Pretty Console for Hyperf adds clean, readable error and exception output to your console. It renders stack traces and messages with clear formatting and colors, making debugging faster and terminal output easier to scan during development. | 115 | 2 | 28 | 2K | 0 | 16.2 | 23.1 | MIT | 3 months ago | |
| hyperf/command | 0.77 | Hyperf's command component lets you build console applications and Artisan-style commands on the coroutine framework, with argument and option parsing, input/output handling, and seamless integration into Hyperf services. | 5 | 5 | 1 | 70K | 0 | 12.1 | 61.0 | MIT | 4 months ago | |
| seld/signal-handler | 0.77 | 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. | 182 | 183 | 3 | 4M | 0 | 2.8 | 55.3 | MIT | 3 years ago | |
| hyperf/coordinator | 0.75 | Hyperf Coordinator provides lightweight coroutine coordination primitives for Hyperf applications, enabling coroutines to wait, resume, and stop safely. It simplifies synchronization for workers, timers, and background tasks with a small, dependency-free API. | 6,913 | 0 | 1,296 | 60K | 365 | 79.1 | 45.4 | MIT | 3 weeks ago | |
| spatie/laravel-signal-aware-command | 0.75 | 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 | 2M | 0 | 5.0 | 55.8 | MIT | 11 months ago | |
| wrep/daemonizable-command | 0.74 | Laravel package for turning Artisan commands into long-running daemons. It provides a base command with loop control, graceful shutdown, signal handling, and start/stop/restart support, making it easier to build reliable background workers and scheduled tasks. | 226 | — | 42 | — | 1 | 2.7 | 0.4 | — | 1 year ago |
|
| m6web/daemon-bundle | 0.74 | Symfony bundle for turning console commands into long-running daemons. Extend the provided daemon command, implement your loop, and get signal handling, graceful shutdown, and simple process lifecycle management without boilerplate. Ideal for workers, queue consumers, and background jobs. | 59 | 60 | 11 | 5K | 0 | 4.9 | 28.0 | MIT | 9 months ago | |
| hyperf/pipeline | 0.73 | Hyperf Pipeline offers a lightweight pipeline pattern for Hyperf apps, letting you pass data through pipes, closures, or middleware. It supports fluent setup and then/thenReturn execution, enabling clean, composable request and data-processing workflows with coroutine-friendly integration. | 0 | — | 0 | — | 0 | 12.0 | — | MIT | 4 months ago |
|
| aboutcoders/process-control-bundle | 0.73 | 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 | 61 | 0 | 0.0 | 15.5 | MIT | — | |
| hyperf/context | 0.73 | Hyperf/Context provides a coroutine-safe context container for Hyperf applications, letting you store and retrieve request-scoped values without leaking state across coroutines. It offers simple get/set/has APIs and integrates with Hyperf's DI and lifecycle for request data, tracing IDs, and other p... | 6,912 | 2 | 1,296 | 82K | 365 | 87.5 | 47.2 | MIT | 3 weeks ago | |
| hyperf/server | 0.73 | Core server component for Hyperf, providing coroutine-driven HTTP and WebSocket server infrastructure built on Swoole and Swow. It handles connection management, request dispatching, lifecycle events, and graceful shutdown for high-performance PHP services. | 3 | — | 3 | — | 1 | 12.2 | — | MIT | 4 months ago |
|
| hyperf/dispatcher | 0.73 | Hyperf Dispatcher is a PSR-14 compatible event dispatcher for the Hyperf framework, offering coroutine-friendly event handling, flexible listener registration, and seamless integration with Hyperf's dependency injection container for scalable PHP services. | 6,912 | 2 | 1,296 | 66K | 365 | 79.1 | 46.0 | MIT | 3 weeks ago | |
| hyperf/stdlib | 0.72 | Hyperf Stdlib is the shared standard library for the Hyperf framework, bundling common utilities, helpers, and base classes that other Hyperf components depend on. It provides reusable, coroutine-friendly building blocks for PHP applications. | 0 | 0 | 0 | 46K | 0 | 15.8 | 61.3 | MIT | 4 months ago | |
| hyperf/memory | 0.72 | Hyperf Memory provides memory-related utilities for Hyperf applications, offering helpers to inspect and manage PHP process memory usage. It integrates with the coroutine framework to help monitor memory limits and support safer, more predictable long-running services. | 6,912 | 0 | 1,296 | 52K | 365 | 78.8 | 44.7 | MIT | 3 weeks ago |
How can I help you explore Laravel packages today?