PHPackages                             alex-kalanis/redis-wrapper - 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. alex-kalanis/redis-wrapper

ActiveLibrary[Caching](/categories/caching)

alex-kalanis/redis-wrapper
==========================

PHP wrapper for questioning Redis as file storage

v2.0.4(2y ago)012BSD-3-ClausePHPPHP &gt;=7.4.0

Since Dec 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/alex-kalanis/redis-wrapper)[ Packagist](https://packagist.org/packages/alex-kalanis/redis-wrapper)[ RSS](/packages/alex-kalanis-redis-wrapper/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (7)Versions (8)Used By (0)

Redis Wrapper
=============

[](#redis-wrapper)

[![Build Status](https://github.com/alex-kalanis/redis-wrapper/actions/workflows/code_checks.yml/badge.svg)](https://github.com/alex-kalanis/redis-wrapper/actions/workflows/code_checks.yml/badge.svg)[![Latest Stable Version](https://camo.githubusercontent.com/6fd39f886445811e8b220bd9e4cc37e074be893e0791abe501bb1c858fbd4db8/68747470733a2f2f706f7365722e707567782e6f72672f616c65782d6b616c616e69732f72656469732d777261707065722f762f737461626c652e7376673f763d31)](https://packagist.org/packages/alex-kalanis/redis-wrapper)[![Minimum PHP Version](https://camo.githubusercontent.com/0e9ac047546796cfdbe1423d1f4d91c8f37d2fbb11614a7900bb7686aaa5401f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e342d3838393242462e737667)](https://php.net/)[![Downloads](https://camo.githubusercontent.com/f95830476e59a3ca2f1900a774b2e287ff990096ccb5e62f9a2565f20894e777/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c65782d6b616c616e69732f72656469732d777261707065722e7376673f7631)](https://packagist.org/packages/alex-kalanis/redis-wrapper)[![License](https://camo.githubusercontent.com/42396df9ea5f3be6e8aaadc9ea797ef76bb5941520a4cc7436e6507e17ae2288/68747470733a2f2f706f7365722e707567782e6f72672f616c65782d6b616c616e69732f72656469732d777261707065722f6c6963656e73652e7376673f763d31)](https://packagist.org/packages/alex-kalanis/redis-wrapper)

Use Redis records as they were files. You can use either Redis module for PHP or Predis library for accesing the cluster.

Installation
============

[](#installation)

```
composer.phar require alex-kalanis/redis-wrapper
```

(Refer to [Composer Documentation](https://github.com/composer/composer/blob/master/doc/00-intro.md#introduction) if you are not familiar with composer)

Usages
======

[](#usages)

Just only initialize wrapper with your Redis instance.

Redis module:

```
    $redis = new \Redis();
    RedisWrapper::setRedis($redis);
    RedisWrapper::register();
```

Predis library:

```
    $redis = new \Predis\Client();
    PredisWrapper::setRedisClient($redis);
    PredisWrapper::register();
```

Then for both:

```
    file_get_contents('redis://any/key/in/redis/storage');
    file_put_contents('redis://another/key/in/storage', 'add something');
```

For using storage just look onto kw\_storage readme.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Every ~197 days

Recently: every ~0 days

Total

7

Last Release

775d ago

Major Versions

v1.1.0 → v2.0.02024-03-29

PHP version history (2 changes)v1.0.0PHP &gt;=7.2.0

v2.0.0PHP &gt;=7.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/499b0a541b787cdb31412f578c7b94c9790bcbee7de12c65b6101c6ce45ef6f0?d=identicon)[alex-kalanis](/maintainers/alex-kalanis)

---

Top Contributors

[![alex-kalanis](https://avatars.githubusercontent.com/u/59184183?v=4)](https://github.com/alex-kalanis "alex-kalanis (16 commits)")

---

Tags

rediswrapperstorageprediswrappers

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/alex-kalanis-redis-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/alex-kalanis-redis-wrapper/health.svg)](https://phpackages.com/packages/alex-kalanis-redis-wrapper)
```

###  Alternatives

[predis/predis

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

7.8k305.7M2.4k](/packages/predis-predis)[predis/predis-async

Asynchronous version of Predis

366348.4k](/packages/predis-predis-async)[predis/service-provider

Predis service provider for the Silex microframework

68546.6k1](/packages/predis-service-provider)[jamescauwelier/psredis

Sentinel client for the popular php redis client

77392.9k5](/packages/jamescauwelier-psredis)[cache/predis-adapter

A PSR-6 cache implementation using Redis (Predis). This implementation supports tags

272.6M13](/packages/cache-predis-adapter)[contributte/redis

Redis client integration into Nette framework

181.6M2](/packages/contributte-redis)

PHPackages © 2026

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