dekalee/pubsub-swarrot-bundle

The bundle for the pubsub adaptor for swarrot

v1.0.0 2019-11-26 10:59 UTC

This package is auto-updated.

Last update: 2020-06-26 12:20:16 UTC


README

Scrutinizer Code Quality Latest Stable Version Total Downloads License

This bundle will wrap the swarrot-pubsub library.

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

Installation

Use composer to install this bundle :

    composer require dekalee/pubsub-swarrot-bundle

Activate it in the AppKernel.php file:

    new Dekalee\PubSubSwarrotBundle\DekaleePubSubSwarrotBundle(),

Configuration

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

    swarrot:
        provider: pub_sub
        default_connection: pub_sub
        connections:
            pub_sub:
                host: 'noneRequired'

Usage

You can directly use your queing system as before