PHPackages                             repat/laravel-job-models - 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. [Database &amp; ORM](/categories/database)
4. /
5. repat/laravel-job-models

ActiveLibrary[Database &amp; ORM](/categories/database)

repat/laravel-job-models
========================

Eloquent Models for the tables job and job\_fails as created by artisan queue:table and queue:failed-table

0.9(2y ago)828.1k—0%1MITPHPPHP &gt;=5.6CI failing

Since Aug 29Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/repat/laravel-job-models)[ Packagist](https://packagist.org/packages/repat/laravel-job-models)[ Docs](https://repat.de)[ RSS](/packages/repat-laravel-job-models/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (11)Used By (0)

laravel-job-models
==================

[](#laravel-job-models)

[![Latest Version on Packagist](https://camo.githubusercontent.com/cfc006aa2cd8bbb341efd9839902d14dca7872c590b00106dccc1c27e63c558a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72657061742f6c61726176656c2d6a6f622d6d6f64656c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/repat/laravel-job-models)[![Total Downloads](https://camo.githubusercontent.com/7c289e1d9714f9b335829987441e1bb547e7cc95e477789f94f269166046fe60/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72657061742f6c61726176656c2d6a6f622d6d6f64656c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/repat/laravel-job-models)

**laravel-job-models** contains 2 Eloquent models for the tables `jobs` and `job_fails` (or however they're defined in the `queue.php` config file) as created by the 2 artisan commands `queue:table` and `queue:failed-table`.

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

[](#installation)

`$ composer require repat/laravel-job-models`

Documentation
-------------

[](#documentation)

### Casting

[](#casting)

There is a casting to `\Carbon\Carbon` objects for: `reserved_at`, `available_at`, `created_at` and `failed_at` and a casting to array for `payload`.

### Attributes/ Mutators

[](#attributes-mutators)

There are getters for all the keys of the payload, including the `data` array. For more information, see the [Laravel Documentation on Eloquent Mutators](https://laravel.com/docs/8.x/eloquent-mutators).

```
$job = \Repat\LaravelJobs\Job::first();

$job->display_name;
$job->max_tries;
$job->delay;
$job->timeout;
$job->timeout_at; // cast to Carbon if not null
$job->command_name; // ->payload['data']['commandName']
$job->command; // unserialized
```

License
-------

[](#license)

- MIT, see [LICENSE](https://github.com/repat/laravel-job-models/blob/master/LICENSE)

Version
-------

[](#version)

- Version 0.9

Contact
-------

[](#contact)

### repat

[](#repat)

- Homepage:
- e-mail:
- Twitter: [@repat123](https://twitter.com/repat123 "repat123 on twitter")

[![Flattr this git repo](https://camo.githubusercontent.com/7e3f46a36526479d701ef7f90a0f8c3ac2fbab3087446e2a9fceed75cd1ab802/687474703a2f2f6170692e666c617474722e636f6d2f627574746f6e2f666c617474722d62616467652d6c617267652e706e67)](https://flattr.com/submit/auto?user_id=repat&url=https://github.com/repat/laravel-job-models&title=laravel-job-models&language=&tags=github&category=software)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance57

Moderate activity, may be stable

Popularity33

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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 ~185 days

Recently: every ~308 days

Total

10

Last Release

782d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/405dab243007488e7e7851422e5864a9312aee36058d60f1e6d623232c4d3131?d=identicon)[repat](/maintainers/repat)

---

Top Contributors

[![repat](https://avatars.githubusercontent.com/u/516807?v=4)](https://github.com/repat "repat (15 commits)")[![saulens22](https://avatars.githubusercontent.com/u/9000854?v=4)](https://github.com/saulens22 "saulens22 (2 commits)")[![n00bsys0p](https://avatars.githubusercontent.com/u/1696688?v=4)](https://github.com/n00bsys0p "n00bsys0p (1 commits)")

---

Tags

laravelmodeleloquentartisanjobjobsjob\_failsqueue table

### Embed Badge

![Health badge](/badges/repat-laravel-job-models/health.svg)

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

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11120.2M21](/packages/anourvalar-eloquent-serialize)[qcod/laravel-imageup

Auto Image upload, resize and crop for Laravel eloquent model using Intervention image

775113.8k](/packages/qcod-laravel-imageup)[waad/laravel-model-metadata

A robust Laravel package for handling metadata with JSON casting, custom relation names, and advanced querying capabilities.

823.1k](/packages/waad-laravel-model-metadata)

PHPackages © 2026

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