PHPackages                             rajentrivedi/queue-watch - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. rajentrivedi/queue-watch

ActiveLibrary[Queues &amp; Workers](/categories/queues)

rajentrivedi/queue-watch
========================

watch jobs, listeners and events folders for changes in files

1.0.0(1y ago)174292[5 PRs](https://github.com/rajentrivedi/queue-watch/pulls)MITPHPPHP ^8.2CI passing

Since Sep 19Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/rajentrivedi/queue-watch)[ Packagist](https://packagist.org/packages/rajentrivedi/queue-watch)[ Docs](https://github.com/rajentrivedi/queue-watch)[ GitHub Sponsors]()[ RSS](/packages/rajentrivedi-queue-watch/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (13)Versions (7)Used By (0)

Automating Laravel Queue Worker Restarts
========================================

[](#automating-laravel-queue-worker-restarts)

[![Alt text](art/queue-watch-1.webp?raw=true "Title")](art/queue-watch-1.webp?raw=true)[![Latest Version on Packagist](https://camo.githubusercontent.com/2437f053f46e3af1af310309e5e9eac47fc2113ea78a3a0d447de6054d2c6c68/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72616a656e747269766564692f71756575652d77617463682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rajentrivedi/queue-watch)[![GitHub Tests Action Status](https://camo.githubusercontent.com/9c02589929b1cc033e0f828a73da64aaefa4e575101d757cd72206b521f65355/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f72616a656e747269766564692f71756575652d77617463682f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/rajentrivedi/queue-watch/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/a8e5128892d65ff0471747fe9997ea7962346b655b06ecb24f7a25b0569bd08b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f72616a656e747269766564692f71756575652d77617463682f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/rajentrivedi/queue-watch/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/e9e8e261d7460cbf8e57ebaddc87555d660e6178b2156a20faca0bc76cc9117d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72616a656e747269766564692f71756575652d77617463682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rajentrivedi/queue-watch)

Supported Versions
------------------

[](#supported-versions)

VersionSupported10.x✅11.x✅Managing queue workers in a Laravel application can sometimes be tedious, especially when dealing with long-running processes. A common challenge is ensuring that workers are restarted whenever there are changes in the jobs, events, or listeners folders. Restarting workers manually can be inefficient and prone to oversight specially during development, potentially leading to application inconsistencies or stale queue processing.

To solve this problem, I’ve developed a Laravel package that automates this process. This package detects file changes within your Laravel application’s jobs, events, and listeners folders and automatically restarts the queue worker when changes are detected.

Support us
----------

[](#support-us)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require rajentrivedi/queue-watch --dev
```

You can publish the config file with:

```
php artisan vendor:publish --tag="queue-watch-config"
```

This is the contents of the published config file:

```
return [
    'directories' => [
        app_path('Jobs'),
        app_path('Events'),
        app_path('Listeners'),
    ],
```

Usage
-----

[](#usage)

```
php artisan queue:work:watch
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Rajen Trivedi](https://github.com/69707769+rajentrivedi)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance62

Regular maintenance activity

Popularity25

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

653d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9519df9e8edfdd9469fe1a8bbab465bec2f9fe71bf9f6088f9ee906fc6c07715?d=identicon)[rajentrivedi](/maintainers/rajentrivedi)

---

Top Contributors

[![rajentrivedi](https://avatars.githubusercontent.com/u/69707769?v=4)](https://github.com/rajentrivedi "rajentrivedi (9 commits)")[![rajenindianic](https://avatars.githubusercontent.com/u/94968368?v=4)](https://github.com/rajenindianic "rajenindianic (6 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")[![garrettmassey1](https://avatars.githubusercontent.com/u/104586201?v=4)](https://github.com/garrettmassey1 "garrettmassey1 (1 commits)")

---

Tags

laravelRajen Trivediqueue-watch

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/rajentrivedi-queue-watch/health.svg)

```
[![Health](https://phpackages.com/badges/rajentrivedi-queue-watch/health.svg)](https://phpackages.com/packages/rajentrivedi-queue-watch)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

44855.7k](/packages/harris21-laravel-fuse)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.8k3](/packages/defstudio-telegraph)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
