pdmfc/redis-queue-inspector
Composer 安装命令:
composer require pdmfc/redis-queue-inspector
包简介
A simple cli command to inspect Laravel Redis queues.
关键字:
README 文档
README
A simple CLI tool to inspect delayed Redis queue jobs in Laravel. Useful for debugging, auditing, and gaining visibility into scheduled or stuck jobs.
📥 Installation
Install the package via Composer:
composer require pdmfc/redis-queue-inspector
Laravel will auto-discover the service provider, no manual registration needed.
🚀 Basic Usage
php artisan queue:inspect
This will inspect the first 50 delayed jobs in the default Redis queue.
🔍 Options
| Option | Description |
|---|---|
--queue= |
Comma-separated list of queue names (default: default) |
--job= |
Filter by partial job class name |
--from= |
Filter jobs scheduled from this date (Y-m-d) |
--to= |
Filter jobs scheduled up to this date (Y-m-d) |
--limit= |
Number of jobs per page (default: 50) |
--page= |
Page number for pagination (default: 1) |
--count |
Only return the total number of matching jobs |
--identifier= |
Filter jobs that reference this model ID in the payload |
--uuid= |
Filter by exact job UUID (as generated by Laravel when dispatching) |
--json |
Output results in machine-readable JSON format |
✅ Examples
Show all delayed jobs in the default queue
php artisan queue:inspect
Show jobs in the emails queue that contain "SendWelcome" in the class name
php artisan queue:inspect --queue=emails --job=SendWelcome
View jobs scheduled from a specific date
php artisan queue:inspect --from=2025-06-01
Search jobs that reference a model ID in the payload
php artisan queue:inspect --identifier=47004
Look up a job by UUID
php artisan queue:inspect --uuid=123e4567-e89b-12d3-a456-426614174000
Only return a count of matching jobs
php artisan queue:inspect --job=SendInvoice --count
Output results in JSON format
php artisan queue:inspect --queue=emails --job=SendWelcome --limit=2 --json
📌 Output Example
Showing 10 jobs (page 1) of 47 matching jobs.
+---------+--------------------------+--------------------------------------+---------------------+
| Queue | Job Name | Job ID | Release At |
+---------+--------------------------+--------------------------------------+---------------------+
| default | App\Jobs\SendWelcome | 123e4567-e89b-12d3-a456-426614174000 | 2025-06-12 21:58:54 |
+---------+--------------------------+--------------------------------------+---------------------+
Tip: Run with --page=2 to see more.
🛠 Requirements
- PHP 8.1+
- Laravel with Redis queue driver enabled
📄 License
MIT License
👤 Author
Mário Souto
mario.souto@pdmfc.com
pdmfc/redis-queue-inspector 适用场景与选型建议
pdmfc/redis-queue-inspector 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6.06k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 06 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「redis」 「queue」 「php」 「laravel」 「inspector」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 pdmfc/redis-queue-inspector 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 pdmfc/redis-queue-inspector 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 pdmfc/redis-queue-inspector 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Microservice RPC through message queues.
PHP AMQP Binding Library
A Laravel package to monitor queue jobs.
The CodeIgniter Redis package
贝嘟分布式缓存扩展
Redis distributed locks for laravel
统计信息
- 总下载量: 6.06k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 16
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-11