2017 © Pedro Peláez
 

yii2-extension yii-redis-queue

Yii2 redis queue based on pub/sub

image

johnnylei/yii-redis-queue

Yii2 redis queue based on pub/sub

  • Tuesday, May 16, 2017
  • by johnnylei
  • Repository
  • 1 Watchers
  • 4 Stars
  • 77 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 8 Versions
  • 54 % Grown

The README.md

yii2-redis-queue

基于yii2通过redis的订阅/发布者模式实现的消息队列, (*1)

install

  • 安装phpredis扩展
  • 安装代码 ``` php composer require --prefer-dist johnnylei/yii-redis-queue

# usage - 配置文件 ``` php 'redis_queue'=>[ 'class'=>'johnnylei\redis_queue\RedisQueue', ],
  • 使用
// 前台发送
Yii::$app->redis_queue->publish('test', 'xxxxxxxxxxxxxxx');

// console里面监听,并且处理,设置监听不超时
ini_set('default_socket_timeout', -1);
Yii::$app->redis_queue->subscribe('test', function($instance, $channelName, $message) {
    var_dump($message);
});

The Versions

16/05 2017

dev-master

9999999-dev https://github.com/johnnylei/redis-queue.git

Yii2 redis queue based on pub/sub

  Sources   Download

MIT

The Requires

 

by johnny Lei

yii2 redis queue

16/05 2017

1.1.5

1.1.5.0 https://github.com/johnnylei/redis-queue.git

Yii2 redis queue based on pub/sub

  Sources   Download

MIT

The Requires

 

by johnny Lei

yii2 redis queue

12/05 2017

1.1.4

1.1.4.0 https://github.com/johnnylei/redis-queue.git

Yii2 redis queue based on pub/sub

  Sources   Download

MIT

The Requires

 

by johnny Lei

yii2 redis queue

26/04 2017

1.1.3

1.1.3.0 https://github.com/johnnylei/redis-queue.git

Yii2 redis queue based on pub/sub

  Sources   Download

MIT

The Requires

 

by johnny Lei

yii2 redis queue

26/04 2017

1.1.2

1.1.2.0 https://github.com/johnnylei/redis-queue.git

Yii2 redis queue based on pub/sub

  Sources   Download

MIT

The Requires

 

by johnny Lei

yii2 redis queue

26/04 2017

1.1.1

1.1.1.0 https://github.com/johnnylei/redis-queue.git

Yii2 redis queue based on pub/sub

  Sources   Download

MIT

The Requires

 

by johnny Lei

yii2 redis queue

26/04 2017

1.1

1.1.0.0 https://github.com/johnnylei/redis-queue.git

Yii2 redis queue based on pub/sub

  Sources   Download

MIT

The Requires

 

by johnny Lei

yii2 redis queue

26/04 2017

1.0

1.0.0.0 https://github.com/johnnylei/redis-queue.git

Yii2 redis queue based on pub/sub

  Sources   Download

MIT

The Requires

 

by johnny Lei

yii2 redis queue