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

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

kargnas/laravel-job-status
==========================

Laravel Job Status

v0.1.10(8y ago)011MITPHPPHP &gt;=5.6.4CI failing

Since May 9Pushed 8y ago1 watchersCompare

[ Source](https://github.com/kargnas/laravel-job-status)[ Packagist](https://packagist.org/packages/kargnas/laravel-job-status)[ RSS](/packages/kargnas-laravel-job-status/feed)WikiDiscussions master Synced 2d ago

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

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

[](#laravel-job-status)

Laravel package to add ability to track `Job` progress, status and result dispatched to `Queue`.

- Queue name, attempts, status and created/updated/started/finished timestamp.
- Progress update, with arbitrary current/max value and percentage auto calculated
- Handles failed job with exception message
- Custom input/output
- Native Eloquent model `JobStatus`
- Support all drivers included in Laravel (null/sync/database/beanstalkd/redis/sqs)

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

[](#requirements)

- PHP &gt;= 5.6.4
- Laravel &gt;= 5.3

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

[](#installation)

This plugin can only be installed from [Composer](https://getcomposer.org/).

Run the following command:

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

```

### Laravel 5.5

[](#laravel-55)

Just run the migration script. You don't have to do anything else, this package autoloads the Service Provider, using the new Auto-Discovery feature.

```
php artisan migrate
```

### Laravel 5.4 or lower

[](#laravel-54-or-lower)

Add the following to your `config/app.php`:

```
'providers' => [
    ...
    Imtigger\LaravelJobStatus\LaravelJobStatusServiceProvider::class,
]
```

And run:

```
php artisan migrate
```

### Usage

[](#usage)

In your `Job`, use `Trackable` trait and call `$this->prepareStatus()` in constructor.

```
