Download the PHP package mohammedmanssour/failed-jobs-model without Composer

On this page you can find all versions of the php package mohammedmanssour/failed-jobs-model. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package failed-jobs-model

Failed Jobs Model

Latest Version on Packagist Tests

An Eloquent model, query scopes, and Artisan commands to inspect, analyze, and prune Laravel's failed_jobs table — with an indexed display_name for fast lookups and stats.

Installation

The package adds a display_name column (a generated column derived from payload->displayName) and a compound index on [display_name, failed_at] — so class-name lookups also satisfy the default failed_at ordering from the same index, with no filesort. The migration runs automatically with:

Supports MySQL, PostgreSQL, and SQLite. On MySQL/SQLite the column is VIRTUAL; on PostgreSQL it is STORED.

Optionally publish the config and migration:

The model

MohammedManssour\FailedJobsModel\FailedJob maps to the failed_jobs table.

Every query is ordered by failed_at descending by default.

Scopes

Commands

Scheduled pruning

The package schedules queue:prune-failed for you, configured via config/failed-jobs-model.php:

Testing

The suite runs on in-memory SQLite by default. To run it against MySQL or PostgreSQL, copy .env.example to .env and set the DB_* values.

License

The MIT License (MIT). Please see License File for more information.


All versions of failed-jobs-model with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^11.0||^12.0||^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mohammedmanssour/failed-jobs-model contains the following files

Loading the files please wait ...