PHPackages                             mateusjunges/laravel-trackable-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. mateusjunges/laravel-trackable-jobs

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

mateusjunges/laravel-trackable-jobs
===================================

This package allows you to track your jobs

v3.0.0(1mo ago)316210.1k↓31.6%20[1 PRs](https://github.com/mateusjunges/trackable-jobs-for-laravel/pulls)MITPHPPHP ^8.3CI passing

Since Apr 6Pushed 1mo ago4 watchersCompare

[ Source](https://github.com/mateusjunges/trackable-jobs-for-laravel)[ Packagist](https://packagist.org/packages/mateusjunges/laravel-trackable-jobs)[ GitHub Sponsors](https://github.com/mateusjunges)[ RSS](/packages/mateusjunges-laravel-trackable-jobs/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (10)Dependencies (15)Versions (25)Used By (0)

Trackable Jobs For Laravel
==========================

[](#trackable-jobs-for-laravel)

[![Trackable jobs for laravel](art/readme.png)](art/readme.png)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e20aaf2117316c90a3c7852a759e02aa8f7a0cad7d3f1fa8d4d7bb610302d957/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61746575736a756e6765732f6c61726176656c2d747261636b61626c652d6a6f62732e7376673f7374796c653d666c6174)](https://packagist.org/packages/mateusjunges/laravel-trackable-jobs)[![Total Downloads](https://camo.githubusercontent.com/bf69a8f4ef99413ed785db55af86681aec289f58deacf5c775845d2e1feff695/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61746575736a756e6765732f6c61726176656c2d747261636b61626c652d6a6f62732e7376673f7374796c653d666c6174)](https://packagist.org/packages/mateusjunges/laravel-trackable-jobs)[![MIT Licensed](https://camo.githubusercontent.com/f251623e510f5909f16ae3f4e6e548dac11340b9fde1a99be26b015b39272c00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c6174)](LICENSE.md)[![Continuous Integration](https://github.com/mateusjunges/trackable-jobs-for-laravel/actions/workflows/run-tests.yml/badge.svg)](https://github.com/mateusjunges/trackable-jobs-for-laravel/actions/workflows/run-tests.yml)

Sponsor my work!
================

[](#sponsor-my-work)

If you think this package helped you in any way, you can sponsor me on GitHub!

[![Sponsor Me](art/sponsor.png)](https://github.com/sponsors/mateusjunges)

- My personal website:
- Follow me on Twitter:
- Follow me on Bluesky:

Documentation
=============

[](#documentation)

Installation and setup
----------------------

[](#installation-and-setup)

To install this package, you must be running php v8.0 or higher, as well as laravel v9.x or higher.

Use composer:

```
composer require mateusjunges/laravel-trackable-jobs
```

You can publish the configuration file and the migration with this command:

```
php artisan vendor:publish --tag=trackable-jobs-assets
```

Run `php artisan migrate` to migrate the table needed by this package, and now you are good to go!

Tracking Jobs
-------------

[](#tracking-jobs)

To start tracking your jobs, you just need to extend the base `\Junges\TrackableJobs\TrackableJob` class in the job you want to track. For example, let's say you want to track the status of `ProcessPodcastJob`:

```
