haythem / laravel-database-queue-tracker
A laravel database queue tracker
Installs: 63
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Blade
Requires
- php: >=7.2
- livewire/livewire: ^2.0
Requires (Dev)
- orchestra/testbench: ^4.0|^5.0|^6.0
- phpunit/phpunit: ^8.4|^9.0
README
Package description: this package allows you to track your database queued jobs
Supported laravel versions : 7/8
Installation
Install via composer
composer require haythem/laravel-database-queue-tracker
Migrate
php artisan migrate
Publish package assets
php artisan vendor:publish --provider="haythem\LaravelDatabaseQueueTracker\ServiceProvider"
Usage
1 - add IsTracked Trait to your job you want to track
use haythem\LaravelDatabaseQueueTracker\Traits\IsTracked; use IsTracked;
2 - create a route to that return the dashboard view.
Route::get('/queue-tracker', function () { return view('queue-tracker::dashboard'); });