2017 © Pedro Peláez
 

library event-bus-extra-redis

aztech/event-bus Redis channel provider

image

aztech/event-bus-extra-redis

aztech/event-bus Redis channel provider

  • Wednesday, January 28, 2015
  • by thibaud-evaneos
  • Repository
  • 1 Watchers
  • 0 Stars
  • 33 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

aztech/event-bus-extra-redis

Build status

Build Status Code Coverage Scrutinizer Quality Score Dependency Status HHVM Status, (*1)

Stability

Latest Stable Version Latest Unstable Version, (*2)

About

Redis database plugin for the aztech/event-bus library. For more information on event-bus, see that library's readme., (*3)

Installation

Via Composer

Composer is the only supported way of installing aztech/event-bus-extra-redis . Don't know Composer yet ? Read more about it., (*4)

$ composer require "aztech/event-bus-extra-redis":"~1", (*5)

Usage

To use this plugin, you first need to register it with the Event factory. The easiest way is as follows :, (*6)

<?php

require_once 'vendor/autoload.php';

use \Aztech\Events\Events;
use \Aztech\Events\Bus\Plugins\Redis\Redis;

Redis::loadPlugin('redis');

$publisher = Events::createPublisher('redis');
$processor = Events::createProcessor('redis');
// ...

Configuring

By default, the plugin attempts to connect to a Redis server at localhost:6379, which suits mostly development machines., (*7)

You can configure the Redis client using the options array when using the Event factory., (*8)

<?php

require_once 'vendor/autoload.php';

use \Aztech\Events\Events;
use \Aztech\Events\Bus\Plugins\Redis\Redis;

Redis::loadPlugin('redis');

$publisher = Events::createPublisher('redis', [ 'host' => '192.168.1.1', 'port' => 6379);
// ...

The keenest readers will have noticed the options accepted are the same as those used by \Predis\Client., (*9)

The Versions

28/01 2015

dev-master

9999999-dev

aztech/event-bus Redis channel provider

  Sources   Download

The Requires

 

The Development Requires

events redis predis event aztech dispatch

28/01 2015

v1.1.5

1.1.5.0

aztech/event-bus Redis channel provider

  Sources   Download

The Requires

 

The Development Requires

events redis predis event aztech dispatch

26/10 2014

v1.1.4

1.1.4.0

aztech/event-bus Redis channel provider

  Sources   Download

The Requires

 

The Development Requires

events redis predis event aztech dispatch

26/10 2014

v1.1.3

1.1.3.0

aztech/event-bus Redis channel provider

  Sources   Download

The Requires

 

The Development Requires

events redis predis event aztech dispatch

26/10 2014

v1.1.2

1.1.2.0

aztech/event-bus Redis channel provider

  Sources   Download

The Requires

 

The Development Requires

events redis predis event aztech dispatch

26/10 2014

v1.1.1

1.1.1.0

aztech/event-bus Redis channel provider

  Sources   Download

The Requires

 

The Development Requires

events redis predis event aztech dispatch

26/10 2014

v1.1.0

1.1.0.0

aztech/event-bus Redis channel provider

  Sources   Download

The Requires

 

The Development Requires

events redis predis event aztech dispatch

25/10 2014

v1.0.3

1.0.3.0

aztech/event-bus Redis channel provider

  Sources   Download

The Requires

 

The Development Requires

events redis predis event aztech dispatch

24/10 2014

v1.0.2

1.0.2.0

aztech/event-bus Redis channel provider

  Sources   Download

The Requires

 

The Development Requires

events redis predis event aztech dispatch

28/08 2014

v1.0.1

1.0.1.0

aztech/event-bus Redis channel provider

  Sources   Download

The Requires

 

The Development Requires

events redis predis event aztech dispatch

28/08 2014

v1.0.0

1.0.0.0

aztech/event-bus Redis channel provider

  Sources   Download

The Requires

 

The Development Requires

events redis predis event aztech dispatch