PHPackages                             dazzle-php/cache-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. dazzle-php/cache-redis

ActiveLibrary[Caching](/categories/caching)

dazzle-php/cache-redis
======================

Dazzle Asynchronous Redis Cache.

2371PHP

Since Aug 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dazzle-php/cache-redis)[ Packagist](https://packagist.org/packages/dazzle-php/cache-redis)[ RSS](/packages/dazzle-php-cache-redis/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Dazzle Async Redis Cache
========================

[](#dazzle-async-redis-cache)

[![Build Status](https://camo.githubusercontent.com/28ce1f9e5f6be18c11afdcc1e02d74e3089f6aa38dd1cfdc11542cf30002e4d3/68747470733a2f2f7472617669732d63692e6f72672f64617a7a6c652d7068702f63616368652d72656469732e737667)](https://travis-ci.org/dazzle-php/cache-redis)[![Code Coverage](https://camo.githubusercontent.com/72c9bbbd99dbf0fa5aaadcfa269ae29a0f64b2288c936fc0ed0334629d273457/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64617a7a6c652d7068702f63616368652d72656469732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dazzle-php/cache-redis/?branch=master)[![Code Quality](https://camo.githubusercontent.com/a6d939fbe535b4501b08994b618c2eb85ef8b48451fb9b3f172024ab0c0390d0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64617a7a6c652d7068702f63616368652d72656469732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dazzle-php/cache-redis/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/03930c3f0b76ae80f503421c9a91b665b551c3acc3b74bc3cc133ca703d65e0e/68747470733a2f2f706f7365722e707567782e6f72672f64617a7a6c652d7068702f63616368652d72656469732f762f737461626c65)](https://packagist.org/packages/dazzle-php/cache-redis)[![Latest Unstable Version](https://camo.githubusercontent.com/0c27f2e002fa948260508078a062f1431e10a94316d011d9e1b81ae71ec5d050/68747470733a2f2f706f7365722e707567782e6f72672f64617a7a6c652d7068702f63616368652d72656469732f762f756e737461626c65)](https://packagist.org/packages/dazzle-php/cache-redis)[![License](https://camo.githubusercontent.com/922fd2341d21cbfe6011f1980d10e4da7ab8a72e663e958df6f28ba46fee9716/68747470733a2f2f706f7365722e707567782e6f72672f64617a7a6c652d7068702f63616368652d72656469732f6c6963656e7365)](https://packagist.org/packages/dazzle-php/cache-redis/license)

> **Note:** This repository is part of [Dazzle Project](https://github.com/dazzle-php/dazzle) - the next-gen library for PHP. The project's purpose is to provide PHP developers with a set of complete tools to build functional async applications. Please, make sure you read the attached README carefully and it is guaranteed you will be surprised how easy to use and powerful it is. In the meantime, you might want to check out the rest of our async libraries in [Dazzle repository](https://github.com/dazzle-php) for the full extent of Dazzle experience.

[![](https://raw.githubusercontent.com/dazzle-php/dazzle/master/media/dazzle-x125.png)](https://raw.githubusercontent.com/dazzle-php/dazzle/master/media/dazzle-x125.png)

Description
-----------

[](#description)

TODO

Feature Highlights
------------------

[](#feature-highlights)

Dazzle Cache-Redis features:

TODO

Provided Example(s)
-------------------

[](#provided-examples)

### Quickstart

[](#quickstart)

TODO

### Additional

[](#additional)

TODO

Comparison
----------

[](#comparison)

This section contains Dazzle vs React comparison many users requested. If you are wondering why this section has been created, see the author note at the end of it.

#### Performance

[](#performance)

TODO

#### Details

[](#details)

TODO

#### Note from the author

[](#note-from-the-author)

> Few years ago, whenever I needed async tools in PHP, I was actively using other, hugely popular php library called React. Back then it was mind-blowing experience for me and I was astonished how easy it was to simulate async behaviour in PHP. I started to trust this aproach more and more and began to use it in more complicated projects. However, the bigger the project I was working on was, the more defects I was able to find. Its code, in my experience, suffered from uneven performance, leaking memory, the occasional bugs and what had upset me most - lacking interfaces which focused only on async side of things, ignoring functionality of its components as a whole. I started to write my own extensions for the library, including missing boilerplate and fixes needed. I wanted to share that with the community, created PRs with some of them, but they were never approved or rejected. React project was dead at that time, but in fact, I still needed those tools. That prompted me to create Dazzle Project. It was designed as modern, more reliable and more complete replacement for React library. Although I hold React library dear to my heart up to this day, I believe I was able to achieve that goal perfectly. Since the first day Dazzle was published I received many requests to include comparisons and benchmarks that proves the previous statement. That's why this section has been attached to the README. I hope the readers will be able to find all the necessary pieces of information they are looking for in it.

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

[](#requirements)

Dazzle Cache-Redis requires:

- PHP-5.6 or PHP-7.0+,
- UNIX or Windows OS,
- working (Redis)\[\] instance.

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

[](#installation)

To install this library make sure you have [composer](https://getcomposer.org/) installed, then run following command:

```
$> composer require dazzle-php/cache-redis

```

Tests
-----

[](#tests)

Tests can be run via:

```
$> vendor/bin/phpunit -d memory_limit=1024M

```

Versioning
----------

[](#versioning)

Versioning of Dazzle libraries is being shared between all packages included in [Dazzle Project](https://github.com/dazzle-php/dazzle). That means the releases are being made concurrently for all of them. On one hand this might lead to "empty" releases for some packages at times, but don't worry. In the end it is far much easier for contributors to maintain and -- what's the most important -- much more straight-forward for users to understand the compatibility and inter-operability of the packages.

Contributing
------------

[](#contributing)

Thank you for considering contributing to this repository!

- The contribution guide can be found in the [contribution tips](https://github.com/dazzle-php/cache-redis/blob/master/CONTRIBUTING.md).
- Open tickets can be found in [issues section](https://github.com/dazzle-php/cache-redis/issues).
- Current contributors are listed in [graphs section](https://github.com/dazzle-php/cache-redis/graphs/contributors)
- To contact the author(s) see the information attached in [composer.json](https://github.com/dazzle-php/cache-redis/blob/master/composer.json) file.

License
-------

[](#license)

Dazzle Cache-Redis is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

---

*"Everything is possible. The impossible just takes longer."* ― Dan Brown

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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/edd40f7be77d3f9934f998dc0859d0562e42c715d61f5139feaf948a2fcb6050?d=identicon)[khelle](/maintainers/khelle)

---

Top Contributors

[![khelle](https://avatars.githubusercontent.com/u/5642657?v=4)](https://github.com/khelle "khelle (6 commits)")

---

Tags

asynccachedazzlephpphp-libphp7redisstorage

### Embed Badge

![Health badge](/badges/dazzle-php-cache-redis/health.svg)

```
[![Health](https://phpackages.com/badges/dazzle-php-cache-redis/health.svg)](https://phpackages.com/packages/dazzle-php-cache-redis)
```

###  Alternatives

[predis/predis

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

7.8k305.7M2.4k](/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.4k](/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)
