symfony-bundles/redis-bundle

Symfony Redis Bundle

2.1.0 2018-02-16 16:39 UTC

README

SensioLabsInsight

Build Status Scrutinizer Code Quality Code Coverage Total Downloads Latest Stable Version License

Installation

  • Require the bundle with composer:
composer req symfony-bundles/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.