drone076/redis-bundle

Symfony 4 Redis Bundle

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 8

Type:symfony-bundle

2.2.1 2019-04-09 12:32 UTC

This package is auto-updated.

Last update: 2024-05-10 17:44:12 UTC


README

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.