Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/g41797/queue-beanstalkd
Yii3 Queue Adapter for Beanstalkd - simple, fast work queue
https://github.com/g41797/queue-beanstalkd
beanstalkd php queue worker yii
Last synced: about 1 month ago
JSON representation
Yii3 Queue Adapter for Beanstalkd - simple, fast work queue
- Host: GitHub
- URL: https://github.com/g41797/queue-beanstalkd
- Owner: g41797
- License: bsd-3-clause
- Created: 2024-07-14T09:25:30.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-07-14T10:35:26.000Z (7 months ago)
- Last Synced: 2024-11-06T05:43:33.072Z (3 months ago)
- Topics: beanstalkd, php, queue, worker, yii
- Language: PHP
- Homepage: https://packagist.org/packages/g41797/queue-beanstalkd
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Yii3 Queue Adapter for Beanstalkd - simple, fast work queue
[![tests](https://github.com/g41797/queue-beanstalkd/actions/workflows/tests.yml/badge.svg)](https://github.com/g41797/queue-beanstalkd/actions/workflows/tests.yml)
## Description
Yii3 Queue Adapter for [**Beanstalkd**](https://beanstalkd.github.io/) is adapter in [Yii3 Queue Adapters family.](https://github.com/yiisoft/queue/blob/master/docs/guide/en/adapter-list.md)
Implementation of adapter is based on [enqueue/pheanstalk](https://github.com/php-enqueue/pheanstalk) library.
## Requirements
- PHP 8.2 or higher.
## Installation
The package could be installed with composer:
```shell
composer require g41797/queue-beanstalkd
```## General usage
- As part of [Yii3 Queue Framework](https://github.com/yiisoft/queue/blob/master/docs/guide/en/README.md)
- Stand-alone## Configuration
Default configuration:
```php
[
'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](https://github.com/yiisoft/queue/blob/master/docs/guide/en/usage.md#job-status)
```php
// 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`](./LICENSE.md) for more information.