haythem/laravel-database-queue-tracker

A laravel database queue tracker

v1.0.8 2022-06-23 07:53 UTC

This package is auto-updated.

Last update: 2024-10-23 13:06:22 UTC


README

Packagist Packagist

Package description: this package allows you to track your database queued jobs

Supported laravel versions : 7/8

alt text

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');
});