PHPackages                             tfhinc/ci-realredis - 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. tfhinc/ci-realredis

ActiveLibrary[Caching](/categories/caching)

tfhinc/ci-realredis
===================

Really Redis! - RealRedis is a wrapper library for phpredis in the Codeigniter framework.

v1.1.9(7y ago)2741MITPHPPHP &gt;=7.1.0

Since Dec 1Pushed 7y ago1 watchersCompare

[ Source](https://github.com/TFHInc/ci-realredis)[ Packagist](https://packagist.org/packages/tfhinc/ci-realredis)[ Docs](https://github.com/TFHInc/ci-realredis)[ RSS](/packages/tfhinc-ci-realredis/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (12)Used By (1)

RealRedis
=========

[](#realredis)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1821d4ded882a749b276bccaa64985c42e0e6359edaa0ec93ac2314545462d94/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746668696e632f63692d7265616c72656469732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tfhinc/ci-realredis)[![PHP Version](https://camo.githubusercontent.com/ebce5a63ba5655a2074953c1f23ab2ba9b63df4c412641968e2f8c8a461839a0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746668696e632f63692d7265616c72656469732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tfhinc/ci-realredis)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/24bfcedf27c97ac4b7e174a47e6b3491978caffa141f930b147466bd29efc042/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746668696e632f63692d7265616c72656469732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tfhinc/ci-realredis)

Really Redis! - RealRedis is a wrapper library for phpredis in the [Codeigniter](https://codeigniter.com/) framework.

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

[](#requirements)

- PHP &gt;= 7.1.0
- phpredis
- CodeIgnitor 3.x

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

[](#installation)

Install the library via composer:

```
composer require tfhinc/ci-realredis
```

Run the post install command to publish the helper and class files to the appropriate CI directories:

```
composer --working-dir=vendor/tfhinc/ci-realredis/ run-script publish-files
```

Loading the Library
-------------------

[](#loading-the-library)

There are a few available options for loading the RealRedis library:

### Using the `realredis()` helper function

[](#using-the-realredis-helper-function)

The RealRedis helper function will resolve the realredis class via the CI instance. It will either load the class or return the existing class instance:

```
$this->load->helper('realredis');
```

### Using the RealRedis Class

[](#using-the-realredis-class)

The RealRedis class can be instantiated when you require it:

```
$redis = new TFHInc/RealRedis/RealRedis();
```

### Using the RealRedis CI Library

[](#using-the-realredis-ci-library)

The RealRedis class can be instantiated when you require it:

```
$this->load->library('RealRedis');
```

Usage
-----

[](#usage)

```
// Use the helper method

$this->CI->load->helper('realredis');

realredis()->get('sample.key');

// Use the RealRedis class

$realredis = new TFHInc\RealRedis\RealRedis();

$realredis->get('sample.key');

// Use the RealRedis CI Library

$this->load->library('RealRedis');

$realredis->get('sample.key');
```

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

[](#contributing)

Feel free to create a GitHub issue or send a pull request with any bug fixes. Please see the GutHub issue tracker for isses that require help.

Acknowledgements
----------------

[](#acknowledgements)

- [Colin Rafuse](https://github.com/crafuse)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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

11

Last Release

2716d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f149fbf2c1509cded6ca2d6a64a82bb81535d88ec5466d361247d270ccd8e2ca?d=identicon)[crafuse](/maintainers/crafuse)

---

Top Contributors

[![crafuse](https://avatars.githubusercontent.com/u/10606086?v=4)](https://github.com/crafuse "crafuse (14 commits)")

---

Tags

codeigniter-librarycodeigniter3phpredisredisredis-librarycodeigniterrediscachephpredisci-realredis

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tfhinc-ci-realredis/health.svg)

```
[![Health](https://phpackages.com/badges/tfhinc-ci-realredis/health.svg)](https://phpackages.com/packages/tfhinc-ci-realredis)
```

###  Alternatives

[tedivm/stash

The place to keep your cache.

9824.8M124](/packages/tedivm-stash)[cache/redis-adapter

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

523.9M27](/packages/cache-redis-adapter)[awssat/laravel-visits

Laravel Redis visits counter for Eloquent models

975163.6k2](/packages/awssat-laravel-visits)[ukko/phpredis-phpdoc

@phpdoc extension phpredis for IDE autocomplete

216490.1k13](/packages/ukko-phpredis-phpdoc)[tedivm/stash-bundle

Incorporates the Stash caching library into Symfony.

841.4M16](/packages/tedivm-stash-bundle)[kdyby/redis

Redis storage for Nette Framework

491.6M2](/packages/kdyby-redis)

PHPackages © 2026

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