PHPackages                             quillphp/storage-redis - 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. quillphp/storage-redis

ActiveLibrary[Caching](/categories/caching)

quillphp/storage-redis
======================

Redis storage driver for the Quill PHP framework

00PHPCI passing

Since Apr 6Pushed 2d agoCompare

[ Source](https://github.com/quillphp/quill-storage-redis)[ Packagist](https://packagist.org/packages/quillphp/storage-redis)[ RSS](/packages/quillphp-storage-redis/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Quill Redis Storage Driver
==========================

[](#quill-redis-storage-driver)

Redis storage driver for the [Quill PHP Framework](https://quillphp.com).

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

[](#requirements)

- PHP 8.3+
- `ext-redis`

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

[](#installation)

```
composer require quillphp/storage-redis
```

Usage
-----

[](#usage)

```
use Quill\Storage\RedisStorage;

$storage = new RedisStorage([
    'host'     => '127.0.0.1',
    'port'     => 6379,
    'database' => 0,
]);

// Write
$storage->set('user:42', $payload);
$storage->set('session:abc', $data, ttl: 3600);

// Read
$value = $storage->get('user:42');
$exists = $storage->has('user:42');

// Delete
$storage->delete('user:42');

// Always close when done
$storage->close();
```

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

[](#configuration)

OptionTypeDefaultDescription`host``string``'127.0.0.1'`Redis server hostname or IP address.`port``int``6379`Redis server port.`password``string|null``null`Password for Redis `AUTH`. Leave `null` if authentication is disabled.`database``int``0`Redis database index (0–15).`prefix``string|null``null`Optional string prepended to every key. Useful for namespacing in shared Redis instances.`timeout``float``0.0`Connection timeout in seconds. `0.0` means no timeout.`persistent_id``string|null``null`Enables a persistent connection when set. The value acts as a connection identifier, allowing it to be reused across requests.License
-------

[](#license)

MIT

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance65

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4742b2ad737c14793d6b0a418e6da90b446153a4d7ba120a1f3c07e2a2951d28?d=identicon)[quillphp](/maintainers/quillphp)

---

Top Contributors

[![fr3on](https://avatars.githubusercontent.com/u/26393383?v=4)](https://github.com/fr3on "fr3on (1 commits)")

---

Tags

apiphpredisstorage

### Embed Badge

![Health badge](/badges/quillphp-storage-redis/health.svg)

```
[![Health](https://phpackages.com/badges/quillphp-storage-redis/health.svg)](https://phpackages.com/packages/quillphp-storage-redis)
```

###  Alternatives

[predis/predis

A flexible and feature-complete Redis/Valkey client for PHP.

7.8k305.7M2.3k](/packages/predis-predis)[snc/redis-bundle

A Redis bundle for Symfony

1.0k39.4M67](/packages/snc-redis-bundle)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[illuminate/cache

The Illuminate Cache package.

12835.6M1.3k](/packages/illuminate-cache)[colinmollenhour/php-redis-session-abstract

A Redis-based session handler with optimistic locking

6325.6M14](/packages/colinmollenhour-php-redis-session-abstract)

PHPackages © 2026

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