PHPackages                             reyesoft/reactive-laravel-jobs - 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. reyesoft/reactive-laravel-jobs

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

reyesoft/reactive-laravel-jobs
==============================

Reactive Laravel Jobs

11.0.1(11mo ago)19.3k↓26.7%proprietaryPHPPHP ^8.1

Since Jun 20Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/reyesoft/reactive-laravel-jobs)[ Packagist](https://packagist.org/packages/reyesoft/reactive-laravel-jobs)[ RSS](/packages/reyesoft-reactive-laravel-jobs/feed)WikiDiscussions 11.x Synced 1mo ago

READMEChangelog (5)Dependencies (5)Versions (9)Used By (0)

Reactive Laravel Jobs
=====================

[](#reactive-laravel-jobs)

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

[](#installation)

```
composer require reyesoft/reactive-laravel-jobs

```

Features
--------

[](#features)

- A same job dispatched various times can be grouped based on some value, like user\_id.
- Delay time can be changed (takes last delay value).

Fantastic Laravel job types
---------------------------

[](#fantastic-laravel-job-types)

### Debounce Laravel Job

[](#debounce-laravel-job)

[![Debounce diagram, from RxJs documentation](https://camo.githubusercontent.com/2a8ba2f8c7792574c508a7684cbe2b9f88cd8a4c782c15cbf150bf39c6a00a08/68747470733a2f2f72786a732e6465762f6173736574732f696d616765732f6d6172626c652d6469616772616d732f6465626f756e63652e737667)](https://camo.githubusercontent.com/2a8ba2f8c7792574c508a7684cbe2b9f88cd8a4c782c15cbf150bf39c6a00a08/68747470733a2f2f72786a732e6465762f6173736574732f696d616765732f6d6172626c652d6469616772616d732f6465626f756e63652e737667)

Dispatch delayed job only after delay value and passed without another job dispatched.

```
use Reyesoft\ReactiveLaravelJobs\Debounce\Debounceable;
use Reyesoft\ReactiveLaravelJobs\Debounce\ShouldDebounce;

final class DebouncedNotificationJob implements ShouldDebounce
{
    use Debounceable;
    use Dispatchable;
    use Queueable;

    public $param1 = '';

    public function __construct($param1)
    {
        $this->param1 = $param1;
    }

    public function uniqueId()
    {
        return $this->param1;
    }

    public function debouncedHandle(): void
    {
        echo PHP_EOL . $this->param1;
    }
}
```

```
DebouncedNotificationJob::dispatchDebounced('You have 1 item.')->delay(5);
DebouncedNotificationJob::dispatchDebounced('You have 2 items.')->delay(5);
DebouncedNotificationJob::dispatchDebounced('You have 3 items.')->delay(5);
sleep(10);
DebouncedNotificationJob::dispatchDebounced('You have 4 items.')->delay(5);
sleep(1);
DebouncedNotificationJob::dispatchDebounced('You have 5 items.')->delay(5);

// Do
You have 3 items.
You have 5 items.
```

### Throttle Laravel Job

[](#throttle-laravel-job)

Dispatch delayed job, then ignores subsequent dispatched jobs for a duration determined by delay value, then repeats this process when.

[![Throttle diagram, from RxJs documentation](https://camo.githubusercontent.com/d16b098f6895db6e65c47455a9fb5eda6311e27c08e59c867d293c5f0e504291/68747470733a2f2f72786a732e6465762f6173736574732f696d616765732f6d6172626c652d6469616772616d732f7468726f74746c652e737667)](https://camo.githubusercontent.com/d16b098f6895db6e65c47455a9fb5eda6311e27c08e59c867d293c5f0e504291/68747470733a2f2f72786a732e6465762f6173736574732f696d616765732f6d6172626c652d6469616772616d732f7468726f74746c652e737667)

On Laravel 9, it can be done with [Unique Jobs](https://laravel.com/docs/9.x/queues#unique-jobs).

```
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Contracts\Queue\ShouldBeUnique;

class ThrottledNotificationJob implements ShouldQueue, ShouldBeUnique
{
    public $param1 = '';

    public function __construct($param1)
    {
        $this->param1 = $param1;
    }

    /**
     * The number of seconds after which the job's unique lock
     * will be released.
     */
    public $uniqueFor = 3600;

    public function uniqueId()
    {
        return $this->param1;
    }

    public function handle(): void
    {
        echo PHP_EOL . $this->param1;
    }
}
```

```
ThrottledNotificationJob::dispatch('You have 1 item.')->delay(5);
ThrottledNotificationJob::dispatch('You have 2 items.')->delay(5);
ThrottledNotificationJob::dispatch('You have 3 items.')->delay(5);
sleep(10);
ThrottledNotificationJob::dispatch('You have 4 items.')->delay(5);
sleep(1);
ThrottledNotificationJob::dispatch('You have 5 items.')->delay(5);

// Do
You have 1 item.
You have 4 items.
```

Testing
-------

[](#testing)

```
composer autofix
composer test
```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance51

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Every ~216 days

Recently: every ~265 days

Total

6

Last Release

342d ago

Major Versions

1.0.1 → 10.0.02024-06-23

10.0.0 → 11.0.02025-04-10

PHP version history (2 changes)1.0.0PHP ^7.3||^8.0

10.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/f446404fdcb4bf5659aedcaf810aab3702203c222874460874fa1138b879f9b0?d=identicon)[pablorsk](/maintainers/pablorsk)

---

Top Contributors

[![pablorsk](https://avatars.githubusercontent.com/u/938894?v=4)](https://github.com/pablorsk "pablorsk (8 commits)")

---

Tags

laraveljobsreyesoftlaravel-jobs

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

### Embed Badge

![Health badge](/badges/reyesoft-reactive-laravel-jobs/health.svg)

```
[![Health](https://phpackages.com/badges/reyesoft-reactive-laravel-jobs/health.svg)](https://phpackages.com/packages/reyesoft-reactive-laravel-jobs)
```

###  Alternatives

[harris21/laravel-fuse

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

3786.5k](/packages/harris21-laravel-fuse)[croustibat/filament-jobs-monitor

Background Jobs monitoring like Horizon for all drivers for FilamentPHP

254255.2k6](/packages/croustibat-filament-jobs-monitor)[hpwebdeveloper/laravel-failed-jobs

UI for Laravel failed jobs.

183.1k](/packages/hpwebdeveloper-laravel-failed-jobs)[mateffy/laravel-job-progress

Track and show progress of your background jobs (for progress bar UIs etc.)

451.2k](/packages/mateffy-laravel-job-progress)

PHPackages © 2026

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