Libraries tagged by ShouldBeUnique

boring-o11y/skystan

4 Favers
29 Downloads

Larastan/PHPStan rules for queued Laravel jobs: ShouldBeUnique jobs must declare uniqueFor and (when parameterized) uniqueId, unique jobs may not be batched or bulk-dispatched, batched jobs must be Batchable and honour cancellation, jobs holding an Eloquent model in a public property must use SerializesModels, and jobs dispatched inside DB::transaction() must use afterCommit.

Go to Download


mohannadelemary/laravel-unique-job-locks

0 Favers
1 Downloads

Find out why a ShouldBeUnique job won't dispatch: list and explain the unique-job locks held in your Redis cache store.

Go to Download


boring-o11y/unique-job-middleware

1 Favers
1 Downloads

A queue job middleware that checks a ShouldBeUnique job's lock again when it runs, and skips the copies queued past it.

Go to Download