mgdigital/busque-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Symfony bundle for BusQue, a command queue and scheduler for PHP7

Installs: 161

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 3

Forks: 0

Open Issues: 0

Type:symfony-bundle

v0.2.3 2016-08-30 14:24 UTC

README

Build Status

Provides a Symfony bundle for BusQue, a Command Queue and Scheduler for PHP7.

Installation

Install with composer:

composer require mgdigital/busque-bundle

Configuration

The default configuration is as follows:

busque:
    implementation:
        queue_name_resolver: busque.queue_name_resolver.classname
        command_serializer: busque.command_serializer.php
        command_id_generator: busque.command_id_generator.object_hash
        queue_adapter: busque.queue_adapter.predis
        predis_client: snc_redis.busque_client
        scheduler_adapter: busque.scheduler_adapter.predis
        clock: busque.system_clock
        commandbus_adapter: busque.commandbus_adapter.tactician
        error_handler: busque.error_handler

Configure the Redis client:

snc_redis:
    clients:
        busque:
            type: predis
            alias: busque
            dsn: 'redis://localhost'
            logging: false
            options:
                prefix: 'busque'

Usage

Refer to the BusQue README.

Tests

Build Status

Run the Behat suite:

bin/behat