Thanks to visit codestin.com
Credit goes to github.com

Skip to content

g41797/queue-beanstalkd

Repository files navigation

Yii3 Queue Adapter for Beanstalkd - simple, fast work queue

tests

Description

Yii3 Queue Adapter for Beanstalkd is adapter in Yii3 Queue Adapters family.

Implementation of adapter is based on enqueue/pheanstalk library.

Requirements

  • PHP 8.2 or higher.

Installation

The package could be installed with composer:

composer require g41797/queue-beanstalkd

General usage

Configuration

Default configuration:

[
    'host' => '127.0.0.1',  // IP or hostname of the target server
    'port' => 11300,         // TCP/IP port of the target server
]

Limitations

Job Status

Job Status

// Push a job into the queue and get a message ID.
$id = $queue->push(new SomeJob());

// Get job status.
$status = $queue->status($id);

is not supported.

License

Yii3 Queue Adapter for Beanstalkd is free software. It is released under the terms of the BSD License. Please see LICENSE for more information.

About

Yii3 Queue Adapter for Beanstalkd - simple, fast work queue

Topics

Resources

License

Stars

Watchers

Forks