PHPackages                             lenorix/laravel-job-status - 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. lenorix/laravel-job-status

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

lenorix/laravel-job-status
==========================

Job status and result made easy and simple

v0.4.0(1y ago)1439[3 PRs](https://github.com/lenorix/laravel-job-status/pulls)1UnlicensePHPPHP ^8.3||^8.4CI passing

Since Apr 28Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/lenorix/laravel-job-status)[ Packagist](https://packagist.org/packages/lenorix/laravel-job-status)[ Docs](https://github.com/lenorix/laravel-job-status)[ GitHub Sponsors](https://github.com/lenorix)[ RSS](/packages/lenorix-laravel-job-status/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (12)Versions (12)Used By (1)

Laravel Job Status
==================

[](#laravel-job-status)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d20b28ad161ab6b42372f9c946bd707769bc9e14173e6ce5404241586cadf89f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c656e6f7269782f6c61726176656c2d6a6f622d7374617475732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lenorix/laravel-job-status)[![GitHub Tests Action Status](https://camo.githubusercontent.com/f5c7660e171a2a2ade30a4cbb4c31a0de8ebd6ff9322c7a6f894b89c8d823f62/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c656e6f7269782f6c61726176656c2d6a6f622d7374617475732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/lenorix/laravel-job-status/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/891d6def2a7fce7209f449a32726f4b29f48973262f9e96ab360a604853be02e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c656e6f7269782f6c61726176656c2d6a6f622d7374617475732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/lenorix/laravel-job-status/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/c6ff0ff8337e7c3ae0b78728d8a5672faa3d26cf286a18482ea1ac4df5dfe797/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c656e6f7269782f6c61726176656c2d6a6f622d7374617475732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lenorix/laravel-job-status)

Job status and result made easy and simple.

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

[](#support-us)

Support [this work in GitHub](https://github.com/lenorix/laravel-job-status) or [get in contact](https://lenorix.com/).

Requirements
------------

[](#requirements)

- PHP 8.4 or 8.3
- Laravel 11.37 or higher (12 included)

Support for older versions is planned, if you can help with that, please open a PR.

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

[](#installation)

You can install the package via composer:

```
composer require lenorix/laravel-job-status
```

It requires Laravel 11 or higher, and is tested on 11.37 as lowest version supported.

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="job-status-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-job-status-config"
```

This is the contents of the published config file:

```
return [
    /**
     * Days to keep job trackers in the database before to be prunable.
     */
    'prune_days' => env('JOB_STATUS_PRUNE_DAYS', 30),
];
```

See [Laravel doc about pruning models](https://laravel.com/docs/11.x/eloquent#pruning-models) for details.

Usage
-----

[](#usage)

In your job class:

```
use Lenorix\LaravelJobStatus\Traits\Trackable;

class YourJob implements ShouldQueue
{
    use Queueable;
    use Trackable; // Add this trait to your job.

    public function handle()
    {
        // Optional, only if you want to get result with the tracker.
        // It must serialize to JSON well.
        $this->setResult(...);
    }
}
```

And when you dispatch the job:

```
$tracker = YourJob::dispatchWithTrack(...)
        ->afterResponse()
        ...
        /// Get tracker to have a way to know when it's done.
        ->getJob()
        ->tracker();

$tracker->id; // Get the tracker ULID to check it in another request.

if ($tracker->isSuccessful()) {
    ...
}
if ($tracker->isFailed()) {
    ...
}
if ($tracker->isPending()) {
    ...
}

$tracker->result; // Get the result of the job, or null if not set.
```

If you have the ULID:

```
use Lenorix\LaravelJobStatus\Facades\JobStatus;

$tracker = JobStatus::of($ulid);
```

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)

- [Jesus Hernandez](https://github.com/jhg)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance73

Regular maintenance activity

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.1% 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 ~0 days

Total

8

Last Release

376d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/487ac224aa3cc183acf32af3eed52e49ca14a903e9ee676418195170b6beb920?d=identicon)[lenorix](/maintainers/lenorix)

---

Top Contributors

[![jhg](https://avatars.githubusercontent.com/u/1288711?v=4)](https://github.com/jhg "jhg (82 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

---

Tags

laravelqueuejob-statuslenorix

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/lenorix-laravel-job-status/health.svg)

```
[![Health](https://phpackages.com/badges/lenorix-laravel-job-status/health.svg)](https://phpackages.com/packages/lenorix-laravel-job-status)
```

###  Alternatives

[croustibat/filament-jobs-monitor

Background Jobs monitoring like Horizon for all drivers for FilamentPHP

254255.2k6](/packages/croustibat-filament-jobs-monitor)[harris21/laravel-fuse

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

3786.5k](/packages/harris21-laravel-fuse)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[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)
