catch-of-the-day/php-resque
Redis-backed background job queue for PHP (Resque port). Enqueue jobs onto one or more prioritized queues and process them with distributed workers. Supports forking for leak resilience, failure handling, optional job status tracking, and setUp/tearDown hooks.
pcntl extension required for workers).For Executives: "This package lets us offload slow, non-critical tasks (like sending emails or processing large files) to background workers, making our app faster and more scalable. It’s like hiring extra hands to handle busywork while our main team focuses on serving users. It’s open-source, lightweight, and integrates seamlessly with our existing PHP/Redis stack—no new infrastructure needed. We can start with basic features and add monitoring later if required."
For Engineers: *"php-resque is a direct port of Ruby’s Resque, giving us a battle-tested, Redis-backed job queue for PHP. Key benefits:
perform() method; enqueue with one line.COUNT env var.setUp/tearDown, status tracking (waiting/running/failed/complete), and failure handling.beforePerform, onFailure) for custom logic or logging.Trade-offs:
pcntl for forking (check PHP config).Next Steps:
VERBOSE) and explore custom status tracking.Alternatives Considered:
How can I help you explore Laravel packages today?