Skip to content

MPSTR24/laravel-queue-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Queue Tracker

This package is designed to track the current job that is being processed within your queue, allowing you to see what is ongoing within the system.

Note: This package has been primarily tested with sync and database. Other queue drivers might not work as expected.

GitHub Actions Workflow Status Packagist Version Packagist Downloads

Features

  • Automatic polling of the current job
  • Ability to target a specific queue

Installation

Install the package via Composer:

composer require mpstr24/laravel-queue-tracker

Usage/Examples

Basic usage.

Run the following to see the current job being processed on "default" queue.

php artisan queue:track

Queue selection

Use --queue to change the current queue you are tracking.

php artisan queue:track --queue=high

Queue polling

Use --watch to poll the selected queue and see the jobs change. This polls every 5 seconds.

php artisan queue:track --watch

Roadmap

  • Tabular output if more than one job is currently processing.
  • Config file for finer control
    • Polling control
    • Default queue control
  • Job failure tracking
    • Error logging and analytics
  • Larastan goals
    • 5
    • 6
    • 7
    • 8
    • 9
  • Implement tests

License

MIT

About

Laravel package that allows you to see the current job being processed in a queue during production.

Topics

Resources

License

Stars

Watchers

Forks

Languages