https://github.com/mpstr24/laravel-queue-tracker
Laravel package that allows you to see the current job being processed in a queue during production.
https://github.com/mpstr24/laravel-queue-tracker
laravel laravel-package php8 queues
Last synced: 4 months ago
JSON representation
Laravel package that allows you to see the current job being processed in a queue during production.
- Host: GitHub
- URL: https://github.com/mpstr24/laravel-queue-tracker
- Owner: MPSTR24
- License: mit
- Created: 2025-03-04T22:14:39.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-12T20:55:26.000Z (about 1 year ago)
- Last Synced: 2025-04-13T12:39:15.118Z (about 1 year ago)
- Topics: laravel, laravel-package, php8, queues
- Language: PHP
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.



## Features
- Automatic polling of the current job
- Ability to target a specific queue
## Installation
Install the package via Composer:
```bash
composer require mpstr24/laravel-queue-tracker
```
## Usage/Examples
### Basic usage.
Run the following to see the current job being processed on "default" queue.
```bash
php artisan queue:track
```
### Queue selection
Use ```--queue``` to change the current queue you are tracking.
```bash
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.
```bash
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
- [x] Larastan goals
- [x] 5
- [x] 6
- [x] 7
- [x] 8
- [x] 9
- [ ] Implement tests
## License
[MIT](https://choosealicense.com/licenses/mit/)