bagsiz/queue-monitor
最新稳定版本:1.0.6
Composer 安装命令:
composer require bagsiz/queue-monitor
包简介
A Laravel package for monitoring queue jobs.
README 文档
README
Overview
Bagsiz Queue Monitor is a Laravel package for monitoring the status of your queue jobs. It tracks jobs that are processing, completed, and failed, and provides a simple dashboard to view job statuses in real time.
Installation
-
Install the package via Composer:
composer require Bagsiz/queue-monitor -
Publish the configuration and view files:
php artisan vendor:publish --provider="Bagsiz\QueueMonitor\QueueMonitorServiceProvider" -
Add the service provider in your
config/app.phpfile if it is not automatically added:'providers' => [ // Other service providers... Bagsiz\QueueMonitor\QueueMonitorServiceProvider::class, ],
Usage
- To view the queue monitor panel, navigate to
/queue-monitorin your application. - The dashboard will provide real-time information about processing, completed, and failed jobs.
Configuration
The package comes with a configuration file (queue-monitor.php) that can be customized after publishing. You can change settings like:
redis_connection: Specify the redis connection to use.
Example
The monitoring panel is accessible at /queue-monitor. It shows:
- Processing Jobs: Jobs that are currently in progress.
- Processed Jobs: Jobs that have been completed.
- Failed Jobs: Jobs that have failed, along with error details.
License
This package is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-10-10