Download the PHP package pompdelux/phpredis-bundle without Composer
On this page you can find all versions of the php package pompdelux/phpredis-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download pompdelux/phpredis-bundle
More information about pompdelux/phpredis-bundle
Files in pompdelux/phpredis-bundle
Download pompdelux/phpredis-bundle
More information about pompdelux/phpredis-bundle
Files in pompdelux/phpredis-bundle
Vendor pompdelux
Package phpredis-bundle
Short Description Adds phpredis to symfony.
License MIT
Homepage https://github.com/pompdelux/phpredis-bundle
Package phpredis-bundle
Short Description Adds phpredis to symfony.
License MIT
Homepage https://github.com/pompdelux/phpredis-bundle
Please rate this library. Is it a good library?
Informations about the package phpredis-bundle
PHPRedisBundle
This bundle brings phpredis to your Symfony2 app.
It allows you to easily create multiple clients pointing to different databases and/or servers.
Install:
-
Add PHPRedisBundleBundle to your dependencies:
// composer.json { // ... "require": { // ... "pompdelux/phpredis-bundle": "1.*" } }
-
Use Composer to download and install the bundle:
$ php composer.phar update pompdelux/phpredis-bundle
-
Register the bundle in your application:
// app/AppKernel.php class AppKernel extends Kernel { // ... public function registerBundles() { $bundles = array( // ... new Pompdelux\PHPRedisBundle\PHPRedisBundle(), ); } }
-
Add the configuration needed to use the bundle:
// config.yml php_redis: class: service_name: host: 127.0.0.1 port: 6379 prefix: '' database: 0 timeout: 0 auth: null skip_env: false some_other_service: host: localhost port: 6379 ....
Two things to note:
- If
skip_env
is not set tofalse
the environment will be part of the prefix for all keys. Redis::SERIALIZER_PHP
will be used as serializer unless you override it viasetOption()
Usage:
All versions of phpredis-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5
ext-redis Version 2.2.x
ext-redis Version 2.2.x
The package pompdelux/phpredis-bundle contains the following files
Loading the files please wait ....