dekalee/redis-swarrot-bundle

The bundle for the redis adaptor for swarrot

v1.0.0 2017-03-16 09:54 UTC

This package is auto-updated.

Last update: 2024-04-12 03:17:51 UTC


README

Scrutinizer Code Quality Latest Stable Version Total Downloads License

This bundle will wrap the swarrot-redis library.

It will provide a way to use the redis provider while using the SwarrotBundle.

Installation

Use composer to install this bundle :

    composer require dekalee/redis-swarrot-bundle

Activate it in the AppKernel.php file:

    new Dekalee\RedisSwarrotBundle\DekaleeRedisSwarrotBundle(),

Configuration

In your config.yml file, you should set the provider to redis and specify the connection :

    swarrot:
        provider: redis
        default_connection: redisQueue
        connections:
            redisQueue:
                host: %redis_queue_host%
                port: %redis_queue_port%
                vhost: %redis_queue_database%

Usage

You can directly use your queing system as before