PHPackages                             cyppe/laravel-batch-jobs-redis-driver - 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. cyppe/laravel-batch-jobs-redis-driver

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

cyppe/laravel-batch-jobs-redis-driver
=====================================

Redis driver for handling batch jobs in Laravel instead of default mysql table job\_batches

1.4.0(5mo ago)34191.5k↓72.6%9[1 issues](https://github.com/cyppe/laravel-batch-jobs-redis-driver/issues)PHPPHP ^8.1

Since Jan 20Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/cyppe/laravel-batch-jobs-redis-driver)[ Packagist](https://packagist.org/packages/cyppe/laravel-batch-jobs-redis-driver)[ RSS](/packages/cyppe-laravel-batch-jobs-redis-driver/feed)WikiDiscussions main Synced 2w ago

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

Laravel Batch Jobs Redis Driver
===============================

[](#laravel-batch-jobs-redis-driver)

Overview
--------

[](#overview)

The Laravel Batch Jobs Redis Driver offers a performance-optimized alternative for handling batch jobs in Laravel. This package replaces the default MySQL `job_batches` table with a Redis driver, significantly improving processing efficiency, especially under heavy workloads.

Fully compatible with Laravel Horizon Batch overview:
-----------------------------------------------------

[](#fully-compatible-with-laravel-horizon-batch-overview)

[![CleanShot 2024-03-14 at 23 28 38@2x](https://private-user-images.githubusercontent.com/591720/313013047-678804d5-6758-4a6c-86e2-3205435d0568.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODYxNjY2NzksIm5iZiI6MTc4NjE2NjM3OSwicGF0aCI6Ii81O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XM9MzAwJlgtQW16LVNpZ25hdHVyZT1mYjZlMWZiMWRjM2Q2NjgyMmE0ZGUxZmUwZTlhYzBiMWFkMjNmYmM3NDQ1MjRhNWIxOWI4YjUyYWYxOTM0ZWNhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.iEoI95bo0yJYPgDj-MskVa2mhbIW3UWd24QIC7eLtCk)

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

[](#installation)

### Laravel

[](#laravel)

install

```
composer require "cyppe/laravel-batch-jobs-redis-driver"
```

Important Configuration
-----------------------

[](#important-configuration)

Before using this Redis driver, you must update your `config/queue.php` configuration.

Set the `database` key under the `batching` section to `'redis'`. Without this adjustment, Laravel will default to using the MySQL driver.

```
'batching' => [
    'database'          => 'redis', // Change this from 'mysql' to 'redis'
    'redis_connection'  => 'default', // here you can define what redis connection to store batch related data in. Defaults to 'default' if not set.
    'table'             => 'job_batches',
    'debug'             => false,
],
```

Ensure that your Redis connection is correctly configured in Laravel to use this driver effectively.

Pruning batches
---------------

[](#pruning-batches)

It fully supports pruning of batches with default Laravel command:

```
php artisan queue:prune-batches --hours=24 --unfinished=24 --cancelled=24
```

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance70

Regular maintenance activity

Popularity46

Moderate usage in the ecosystem

Community15

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.7% 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 ~59 days

Recently: every ~183 days

Total

14

Last Release

167d ago

PHP version history (2 changes)1.0.0PHP ^8.0

1.1.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/891aca6c6e4599020dd913bcdacd9443962d773095831ee345fad4b4f08ff57b?d=identicon)[cyppe](/maintainers/cyppe)

---

Top Contributors

[![cyppe](https://avatars.githubusercontent.com/u/591720?v=4)](https://github.com/cyppe "cyppe (36 commits)")[![npwvestjens](https://avatars.githubusercontent.com/u/214463901?v=4)](https://github.com/npwvestjens "npwvestjens (1 commits)")[![TheDoctor0](https://avatars.githubusercontent.com/u/16612504?v=4)](https://github.com/TheDoctor0 "TheDoctor0 (1 commits)")

###  Code Quality

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/cyppe-laravel-batch-jobs-redis-driver/health.svg)

```
[![Health](https://phpackages.com/badges/cyppe-laravel-batch-jobs-redis-driver/health.svg)](https://phpackages.com/packages/cyppe-laravel-batch-jobs-redis-driver)
```

###  Alternatives

[spatie/laravel-medialibrary

Associate files with Eloquent models

6.2k45.4M707](/packages/spatie-laravel-medialibrary)[laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

1.7k57.2M683](/packages/laravel-scout)[api-platform/laravel

API Platform support for Laravel

58190.1k21](/packages/api-platform-laravel)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)[illuminate/queue

The Illuminate Queue package.

20433.0M1.8k](/packages/illuminate-queue)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)

PHPackages © 2026

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