Skip to content

drone076/redis-bundle

 
 

Repository files navigation

Drone076RedisBundle

Fork from symfony-bundles/redis-bundle with fixed Symfony 4.* deprecations

Fix "A tree builder without a root node is deprecated since Symfony 4.2 and will not be supported anymore in 5.0." deprecation.

Installation

  • Require the bundle with composer:
composer req drone076/redis-bundle

Configuring of the clients

If you want configure Redis clients - create configuration file. For example:

# config/packages/sb_redis.yaml
sb_redis:
    clients:
        default:
            $options:    []
            $parameters: ['tcp://127.0.0.1:6379?database=3']

Read more about supported client options and connection parameters:

How to use

Read more on the page Quick tour.