PHPackages                             stietotalwin/stw-sdk-php-redis-queue - 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. [Caching](/categories/caching)
4. /
5. stietotalwin/stw-sdk-php-redis-queue

ActiveLibrary[Caching](/categories/caching)

stietotalwin/stw-sdk-php-redis-queue
====================================

Redis Queue library for CodeIgniter framework

v0.1.20(2mo ago)029MITPHPPHP &gt;=7.4

Since Jul 30Pushed 2mo agoCompare

[ Source](https://github.com/stietotalwin/stw-sdk-php-redis-queue)[ Packagist](https://packagist.org/packages/stietotalwin/stw-sdk-php-redis-queue)[ RSS](/packages/stietotalwin-stw-sdk-php-redis-queue/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (22)Used By (0)

StieTotalWin Redis Queue
========================

[](#stietotalwin-redis-queue)

A generic Redis-based queue library for CodeIgniter 4 framework that provides reliable job processing with support for delayed jobs, retries, and failure handling.

Features
--------

[](#features)

- **Job Publishing**: Publish jobs to Redis queues with optional delays
- **Job Consumption**: Consume and process jobs from queues
- **Retry Mechanism**: Automatic retry with exponential backoff for failed jobs
- **Multiple Queues**: Support for multiple named queues
- **Queue Management**: Monitor queue statistics, clear queues, and manage jobs
- **Bulk Operations**: Publish multiple jobs at once
- **Failed Job Handling**: Track and retry failed jobs
- **Job Expiration**: Automatic cleanup of expired jobs
- **CodeIgniter 4 Integration**: Built specifically for CodeIgniter 4 framework
- **Unified Configuration**: Single Redis configuration for all operations

Requirements
------------

[](#requirements)

- PHP &gt;= 7.4
- CodeIgniter 4 &gt;= 4.1
- Redis server
- Predis client library

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

[](#installation)

Install via Composer:

```
composer require stietotalwin/stw-sdk-php-redis-queue
```

Configuration
-------------

[](#configuration)

Create a configuration file `app/Config/RedisQueue.php`:

```
