Looking to hire Laravel developers? Try LaraJobs

laravel-redis-batch-repository maintained by rnix

Description
Provides redis repository implementation for Laravel Queue Batch
Author
Last update
2022/07/06 11:26 (dev-main)
License
Links
Downloads
41 714

Comments
comments powered by Disqus

Laravel RedisBatchRepository

Replaces default Illuminate\Bus\DatabaseBatchRepository with implementation based on Redis.

Requirements:

  • php 8
  • laravel 8
  • phpredis or predis

Installation

composer require "rnix/laravel-redis-batch-repository"

Pruning

This package provides console command to prune stale batches from redis store:

php artisan queue:prune-redis-batches --hours=24 --unfinished=72

Run tests

make tests

License

The MIT Licence