bagsiz / queue-monitor
A Laravel package for monitoring queue jobs.
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/bagsiz/queue-monitor
Requires
- php: >=7.4
- illuminate/queue: ^8.0|^9.0|^10.0|^11.0
- illuminate/routing: ^8.0|^9.0|^10.0|^11.0
- illuminate/support: ^8.0|^9.0|^10.0|^11.0
- mockery/mockery: ^1.4
- predis/predis: ^2.2
Requires (Dev)
- laravel/framework: ^8.0|^9.0|^10.0|^11.0
- phpunit/phpunit: ^9.0
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.