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

ActiveLibrary[Caching](/categories/caching)

delboy1978uk/redis-cache
========================

A Redis driver that implements PSR-16 (Simple Cache)

1.0.1(9y ago)09MITPHP

Since Jan 2Pushed 7y ago1 watchersCompare

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

READMEChangelogDependencies (5)Versions (5)Used By (0)

Redis Cache
===========

[](#redis-cache)

[![Build status](https://camo.githubusercontent.com/82d57803503ee75fcf4cc618a54ffe3537165d862545187ea1eca126263e4825/68747470733a2f2f7472617669732d63692e6f72672f6e61726f67612f72656469732d63616368652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/naroga/redis-cache) [![Coverage Status](https://camo.githubusercontent.com/6713c5cd81a13fb44e1cd22485ac8b058e8b89f49b6cabe1280607a699494e8e/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6e61726f67612f72656469732d63616368652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/naroga/redis-cache?branch=master)

This is a simple Redis driver that implements PSR-16 compatible with PHP 5.3.3+.

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

[](#installation)

Install using composer:

```
$ composer require naroga/redis-cache

```

That's it.

`naroga/redis-cache` adheres to [SemVer](http://semver.org/).

Usage
-----

[](#usage)

`naroga/redis-cache` should be constructed with a `predis/predis` client.

You can check [Predis' documentation here](https://github.com/nrk/predis#connecting-to-redis).

```
