hyperf/signal
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| friendsofhyperf/command-signals | 0.90 | 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. | 1 | — | 0 | — | 0 | 12.4 | — | MIT | 4 months ago |
|
| hyperf/process | 0.80 | 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 | |
| hyperf/coordinator | 0.80 | 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 | |
| hyperf/server | 0.77 | 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.76 | 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/command | 0.76 | 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 | |
| hyperf/stdlib | 0.76 | 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 | |
| seld/signal-handler | 0.75 | 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/coroutine | 0.74 | — | 0 | 0 | 1 | 49K | 1 | 26.8 | 64.0 | MIT | 4 months ago | |
| hyperf/context | 0.74 | 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 | |
| spatie/laravel-signal-aware-command | 0.73 | 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 | |
| hyperf/memory | 0.73 | 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 | |
| hyperf/event | 0.72 | hyperf/event is a lightweight event dispatcher for Hyperf applications. Define events and listeners, dispatch synchronously or via async mechanisms, and keep your domain decoupled. Integrates cleanly with Hyperf’s DI and coroutine-friendly runtime. | 6,912 | 3 | 1,296 | 74K | 365 | 87.5 | 46.7 | MIT | 3 weeks ago | |
| hyperf/http-server | 0.72 | Hyperf HTTP Server provides a high-performance, coroutine-based HTTP server for the Hyperf framework, built on Swoole or Swow. It offers PSR-7/PSR-15 middleware support, powerful routing, annotation-driven controllers, and fast request handling for scalable PHP microservices. | 6,913 | 10 | 1,296 | 67K | 365 | 79.1 | 46.1 | MIT | 3 weeks ago | |
| hyperf/cache | 0.72 | Hyperf/Cache is the coroutine-safe caching component for the Hyperf PHP framework. It provides PSR-16 simple cache, Redis, memory, and file adapters, cache annotations, and configurable TTLs for fast, convenient caching in coroutine applications. | 6,912 | 3 | 1,296 | 61K | 365 | 78.8 | 45.6 | MIT | 3 weeks ago | |
| hyperf/pipeline | 0.72 | 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.71 | 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/model-listener | 0.71 | Hyperf Model Listener adds simple, configurable event listeners to Hyperf's Eloquent-style models. Hook into creating, updating, deleting, and other model lifecycle events to run custom logic cleanly without cluttering your model classes. | 1 | — | 0 | — | 0 | 12.0 | — | MIT | 4 months ago |
|
| hyperf/redis | 0.71 | Coroutine-friendly Redis client for Hyperf with connection pooling, standard Redis commands, pipelines, transactions, Lua scripting, and pub/sub. Integrates with Hyperf's DI and config for caching, queues, and real-time features in high-concurrency PHP apps. | 6,912 | 9 | 1,296 | 66K | 365 | 78.8 | 46.1 | MIT | 3 weeks ago | |
| hyperf/pool | 0.71 | hyperf/pool provides a coroutine-safe connection pool for Hyperf applications, managing reusable connections with configurable limits, idle timeouts, and wait strategies. It helps reduce connection overhead and improve performance in high-concurrency PHP services. | 6 | — | 3 | — | 0 | 12.3 | — | MIT | 4 months ago |
|
How can I help you explore Laravel packages today?