Download the PHP package ami-praha/laravel-db-queue-monitor without Composer
On this page you can find all versions of the php package ami-praha/laravel-db-queue-monitor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ami-praha/laravel-db-queue-monitor
More information about ami-praha/laravel-db-queue-monitor
Files in ami-praha/laravel-db-queue-monitor
Package laravel-db-queue-monitor
Short Description Laravel DB Queue Monitoring
License MIT
Informations about the package laravel-db-queue-monitor
Laravel Queue Monitor
This package offers monitoring like Laravel Horizon for database queue.
Features
- Monitor all jobs like Laravel Horizon, but not only for redis
- Handles failed jobs with exception
- Support for milliseconds
- Model for Queue Monitorings
Installation
Or add ami-praha/laravel-db-queue-monitor
to your composer.json
Run composer update to pull the latest version.
If you use Laravel 5.5+ you are already done, otherwise continue:
Add Service Provider to your app.php configuration file:
Configuration
Copy configuration to config folder:
Copy Vue components to resources folder if you want to modify components (not needed):
and add component to admin/app.js like this:
or if you yre going to use component directly from the package, then like this:
Migrate the Queue Monitoring table. The table name itself can be configured in the config file.
Usage
To monitor a job, add the AmiPraha\LaravelDbQueueMonitor\Traits\LaravelDbQueueMonitor
Trait.
Update Job Progress / Custom Data
You can update the progress of the current job, like supported by FFMpeg
Retrieve processed Jobs
Model Scopes
ToDo
- Add Job & Artisan Command for automatic cleanup of old database entries
The Idea has been inspirated by gilbitron's laravel-queue-monitor package.