PHPackages                             enimiste/laravel-uniqueable-jobs-l54 - 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. enimiste/laravel-uniqueable-jobs-l54

ActiveLibrary

enimiste/laravel-uniqueable-jobs-l54
====================================

Laravel 5.4 uniqueable jobs support

v5.6.0(8y ago)41282MITPHPPHP &gt;= 7.1.3

Since Oct 23Pushed 8y ago4 watchersCompare

[ Source](https://github.com/enimiste/laravel-uniqueable-jobs-l54)[ Packagist](https://packagist.org/packages/enimiste/laravel-uniqueable-jobs-l54)[ RSS](/packages/enimiste-laravel-uniqueable-jobs-l54/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

Laravel Uniqueable Jobs
-----------------------

[](#laravel-uniqueable-jobs)

### Install

[](#install)

Require this package with composer using the following command (Laravel 5.6) :

```
composer require "enimiste/laravel-uniqueable-jobs-l54:5.6.*"
```

For Laravel 5.4 :

```
composer require "enimiste/laravel-uniqueable-jobs-l54:5.4.*"
```

After updating composer, add the service provider to the `providers` array in `config/app.php`

```
Com\NickelIT\UniqueableJobs\UniqueableJobsServiceProvider::class,
```

Publish migration :

```
php artisan queue:table
php artisan vendor:publish  --tag=migrations
```

In your Jobs classes use `Com\NickelIT\UniqueableJobs\Dispatchable` and `Com\NickelIT\UniqueableJobs\Uniqueable` instead of the default ones.
NB : This trait should be used directly in the job class and not in the base class if exists.

To ensure that a given job will be stored in the database once per model and model id you use `->unique(Model::class, $model->id)` on the job instance or after calling `dispatch()` method like :

```
$u = User::first();
DoSomethingJob::dispatch('Hello from unique job ' . $u->email)
                        ->unique(User::class, $u->id);
DoSomethingJob::dispatch('Hello from unique job ' . $u->email)
                        ->unique(User::class, $u->id);
//In this case the job will be stored once if it was already in the db
```

### License

[](#license)

The Laravel Uniqueable Jobs is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

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 ~25 days

Recently: every ~32 days

Total

6

Last Release

2996d ago

PHP version history (2 changes)v5.4.0PHP &gt;=5.6.4

v5.6.0PHP &gt;= 7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/43e7310829d4711c88c34476daec986374515494fa1db2893f33d9091cc25a1a?d=identicon)[nouni.elbachir](/maintainers/nouni.elbachir)

---

Top Contributors

[![enimiste](https://avatars.githubusercontent.com/u/2515677?v=4)](https://github.com/enimiste "enimiste (18 commits)")

---

Tags

jobslaravelphp

### Embed Badge

![Health badge](/badges/enimiste-laravel-uniqueable-jobs-l54/health.svg)

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

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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