Create (or add to your) composer.json in your projects root-directory::
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/xzander/silex-php-redis"
}
],
"require": {
"leongkui/silex-php-redis": "dev-master"
}
}
and run::
curl -s http://getcomposer.org/installer | php
php composer.phar install
This is just a silex provider module for phpredis extension, you will need to setup Redis (https://github.com/antirez/redis) and phpredis extension (https://github.com/nicolasff/phpredis).
Check out simple example under "example" directory.
'silex-php-redis' is licensed under the MIT license.