Skip to content

mrtwenty/flower-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flower MQ Client

Flower MQ client, you can add this package to your project !

Install

composer require mrtwenty/flower-client

demo

# pecl redis
$redis = new \Redis();
$mq    = [
    'name'       => 'mq',
    'delay_name' => 'mq_delay',
];
$client = new Client($redis, $mq);

# add queue 
$res = $client->add(['test' => 'data']);
var_dump($res);

# delay add queue
$second = 3;
$res = $client->add(['test' => 'data'], $second);
var_dump($res);

Flower MQ Server

https://packagist.org/packages/mrtwenty/flower

About

redis client

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages