PHPackages                             teekay12/redis\_extension - 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. teekay12/redis\_extension

ActiveLibrary

teekay12/redis\_extension
=========================

A simple php class that receives phpredis configuration on instantiation and connects automatically

v2.0.1(3y ago)04MITPHP

Since May 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/teekay12/RedisExtension)[ Packagist](https://packagist.org/packages/teekay12/redis_extension)[ RSS](/packages/teekay12-redis-extension/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (1)DependenciesVersions (5)Used By (0)

RedisExtension
==============

[](#redisextension)

This is a simple PHP Class which extends PHPRedis Class which receives redis configuration options on instantiation and connect automatically

\#To Install

Step 1 Run composer require teekay12/redis\_extension to install,

Step 2 CD into the docker directory to run docker compose up to set up the development environment

Import the class, see example below

```
require 'RedisProvider.php';
use Teekay12\RedisExtension\RedisProvider;
```

once the step above is completed, you can go ahead with your configuration options

```
    $options = [
        'host' => "172.25.0.1",
        'port' => 6379,
        'enable_calling_class' => false,
        'connection_timeout' => 1
        'auth' => [
            'username' => 'value',
            'password' => 'value'
        ]
    ];
```

Web server IP &amp; port : 172.25.0.1:6379

To connect simply call the RedisProvider class create method and pass the options array

```
RedisProvider::create($options)
```

this will create an object which you can use to set variables.

Happy Coding !!!

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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 ~0 days

Total

4

Last Release

1452d ago

Major Versions

v1.0.1 → v2.0.02022-05-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/81859836461a554b184990a08176da68dc3c6e107f315e773286663cc78bd457?d=identicon)[teekay12](/maintainers/teekay12)

---

Top Contributors

[![teekay12](https://avatars.githubusercontent.com/u/30495535?v=4)](https://github.com/teekay12 "teekay12 (8 commits)")

### Embed Badge

![Health badge](/badges/teekay12-redis-extension/health.svg)

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

PHPackages © 2026

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