PHPackages                             filth/redis-bundle - 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. filth/redis-bundle

ActiveSymfony-bundle[Caching](/categories/caching)

filth/redis-bundle
==================

Provides OO-Redis handling

89221PHP

Since Jul 10Pushed 12y ago2 watchersCompare

[ Source](https://github.com/filthz/RedisBundle)[ Packagist](https://packagist.org/packages/filth/redis-bundle)[ RSS](/packages/filth-redis-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Filth's RedisBundle
===================

[](#filths-redisbundle)

The `FilthRedisBundle` adds support for object oriented approach in Symfony2 to the Redis key - value storage. This bundle helps you to keep track of the used Redis keys. It will ensure that no keys will overlap unintentionally

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

[](#installation)

### Step 1: Download the FilthRedisBundle

[](#step-1-download-the-filthredisbundle)

Ultimately, the FilthRedisBundle files should be downloaded to the 'vendor/bundles/Filth/RedisBundle' directory.

You can accomplish this several ways, depending on your personal preference. The first method is the standard Symfony2 method.

***Using the vendors script***

Add the following lines to your `deps` file:

```
    [FilthRedisBundle]
        git=https://github.com/filthz/RedisBundle.git
        target=/bundles/Filth/RedisBundle

```

Now, run the vendors script to download the bundle:

```
$ php bin/vendors install
```

***Using submodules***

If you prefer instead to use git submodules, then run the following:

```
$ git submodule add git://github.com/filthz/RedisBundle.git vendor/bundles/Filth/RedisBundle
$ git submodule update --init
```

### Step 2: Configure the Autoloader

[](#step-2-configure-the-autoloader)

Now you will need to add the `Filth` namespace to your autoloader:

```
