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(2mo ago)28135.7k↓37.1%7PHPPHP ^8.1

Since Jan 20Pushed 2mo 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 1mo 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQzNDU2MTAsIm5iZiI6MTc3NDM0NTMxMCwicGF0aCI6Ii81OTE3MjAvMzEzMDEzMDQ3LTY3ODgwNGQ1LT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NzJhNGRmYjgyY2QyMjAyMzg5ZTdkNDIyOTBiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.LsAGK5Cydsy52MyfqDyXSJ3NuYfpWu-PB-CJLI97KDY)

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

55

—

FairBetter than 98% of packages

Maintenance86

Actively maintained with recent releases

Popularity46

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity58

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

74d 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

[illuminate/queue

The Illuminate Queue package.

20331.4M1.2k](/packages/illuminate-queue)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[prwnr/laravel-streamer

Events streaming package for Laravel that uses Redis 5 streams

110196.9k1](/packages/prwnr-laravel-streamer)[palpalani/laravel-sqs-queue-json-reader

Custom SQS queue reader for Laravel

26109.8k](/packages/palpalani-laravel-sqs-queue-json-reader)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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