PHPackages                             cryptoprof/laravel-dispatch-id - 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. cryptoprof/laravel-dispatch-id

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

cryptoprof/laravel-dispatch-id
==============================

Laravel package to get the job id after dispatch

043PHP

Since Jan 11Pushed 2y agoCompare

[ Source](https://github.com/cryptoprof/laravel-dispatch-id)[ Packagist](https://packagist.org/packages/cryptoprof/laravel-dispatch-id)[ RSS](/packages/cryptoprof-laravel-dispatch-id/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Dispatch Id
===================

[](#laravel-dispatch-id)

Laravel package to get the job id after dispatch

Description
-----------

[](#description)

This package is very useful when you need the job id after dispatch and use it for other logic

How to Install
--------------

[](#how-to-install)

- Install with composer

```
composer require arispati/laravel-dispatch-id
```

How to Use
----------

[](#how-to-use)

- Using class

```
use Arispati\LaravelDispatchId\Event;
use App\Jobs\TestJob;

// Basic dispatch
$jobId = Event::dispatch(new TestJob());

// Advanced dispatch
$job = (new TestJob())->delay(now()->addMinutes(10))
    ->onConnection('connection')
    ->onQueue('queue');
$jobId = Event::dispatch($job);
```

- Using helper function

```
use App\Jobs\TestJob;

// Basic dispatch
$jobId = dispatch_id(new TestJob());

// Advanced dispatch
$job = (new TestJob())->delay(now()->addMinutes(10))
    ->onConnection('connection')
    ->onQueue('queue');
$jobId = dispatch_id($job);
```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![arispati](https://avatars.githubusercontent.com/u/13604647?v=4)](https://github.com/arispati "arispati (1 commits)")

### Embed Badge

![Health badge](/badges/cryptoprof-laravel-dispatch-id/health.svg)

```
[![Health](https://phpackages.com/badges/cryptoprof-laravel-dispatch-id/health.svg)](https://phpackages.com/packages/cryptoprof-laravel-dispatch-id)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[amphp/parser

A generator parser to make streaming parsers simple.

14952.8M16](/packages/amphp-parser)[amphp/serialization

Serialization tools for IPC and data storage in PHP.

13451.1M18](/packages/amphp-serialization)[enqueue/enqueue

Message Queue Library

19820.0M56](/packages/enqueue-enqueue)[deliciousbrains/wp-background-processing

WP Background Processing can be used to fire off non-blocking asynchronous requests or as a background processing tool, allowing you to queue tasks.

1.1k409.8k6](/packages/deliciousbrains-wp-background-processing)[react/async

Async utilities and fibers for ReactPHP

2238.8M170](/packages/react-async)

PHPackages © 2026

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