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(4mo ago)33178.8k↓72.8%9[1 issues](https://github.com/cyppe/laravel-batch-jobs-redis-driver/issues)PHPPHP ^8.1

Since Jan 20Pushed 4mo 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 3d 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODI5MzI0NjEsIm5iZiI6MTc4MjkzMjE2MSwicGF0aCI6Ii81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zAwJlgtQW16LVNpZ25hdHVyZT1lMTdiYzM1YzU4OGMwYWUyMTQxOTBmYzc2MzJmMTNmNDE0MjE4OWE5YTAxZGFmZGZjMTI5MzkxNzcxOGYxYTczJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.SDTOjqUWICR8SjLzVpR7a6Jr4kBfzaY8n3relY3F844)

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

53

—

FairBetter than 96% of packages

Maintenance77

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

120d 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.1k43.2M631](/packages/spatie-laravel-medialibrary)[laravel/scout

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

1.7k55.0M618](/packages/laravel-scout)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M132](/packages/laravel-pulse)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)

PHPackages © 2026

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