Flower MQ client, you can add this package to your project !
composer require mrtwenty/flower-client
# 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);