Download the PHP package m6web/redis-bundle without Composer
On this page you can find all versions of the php package m6web/redis-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package redis-bundle
RedisBundle
symfony Bundle on top of predis
see predis/predis
features
- semantic configuration
- sf event dispatcher integration
- session handler with redis storage :
- redis adapter for guzzle cache :
- dataCollector for sf2 web profiler toolbar
usage
configuration
in for a simple cache service :
for a multiple clients :
send the default client. the sharded one.
list of options in servers configuration
- host: IP address or hostname of Redis.
- port: CP port on which Redis is listening to. Default value 6379
- database: Database index (see the SELECT command).
- scheme: Connection scheme, such as 'tcp' or 'unix'. Default value tcp
- async_connect: Performs the connect() operation asynchronously. Default value false
- persistent: Leaves the connection open after a GC collection. Default value false
- timeout: Timeout for the connect() operation. Default value 10
- read_write_timeout: Timeout for read() and write() operations
- reconnect: Number of reconnection attempt if a redis command fail, only for tcp
server configuration via wildcard
event dispatcher
The event is automaticly dispatched when a command is executed. Events are fired with the label.
You can customize the event name through the client configuration :
session handler
dataCollector
Datacollector is available when the Symfony profiler is enabled. The collector allow you to see the following Redis data:
- Command name
- Execution time
- Command arguments
overwriting base class
guzzle redis cache adapter
Launch Unit Tests
Launch php cs
All versions of redis-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
predis/predis Version ^1.1.8
doctrine/cache Version ~1.3
b1rdex/predis-compressible Version ^1.0
symfony/cache Version ~4.4 || ~5.0 || ~6.0
symfony/config Version ~4.4 || ~5.0 || ~6.0
symfony/dependency-injection Version ~4.4 || ~5.0 || ~6.0
symfony/http-foundation Version ~4.4 || ~5.0 || ~6.0
symfony/http-kernel Version ~4.4 || ~5.0 || ~6.0
symfony/yaml Version ~4.4 || ~5.0 || ~6.0
predis/predis Version ^1.1.8
doctrine/cache Version ~1.3
b1rdex/predis-compressible Version ^1.0
symfony/cache Version ~4.4 || ~5.0 || ~6.0
symfony/config Version ~4.4 || ~5.0 || ~6.0
symfony/dependency-injection Version ~4.4 || ~5.0 || ~6.0
symfony/http-foundation Version ~4.4 || ~5.0 || ~6.0
symfony/http-kernel Version ~4.4 || ~5.0 || ~6.0
symfony/yaml Version ~4.4 || ~5.0 || ~6.0
The package m6web/redis-bundle contains the following files
Loading the files please wait ....