All Projects → amphp → beanstalk

amphp / beanstalk

Licence: MIT license
Asynchronous Beanstalk Client for PHP.

Programming Languages

PHP
23972 projects - #3 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to beanstalk

esb
Simple, beanstalkd powered, ESB framework.
Stars: ✭ 26 (-58.06%)
Mutual labels:  beanstalkd, amphp
QueueBundle
QueueBundle for Symfony Framework
Stars: ✭ 40 (-35.48%)
Mutual labels:  queue, beanstalkd
orange
基于beanstalkd实现多进程处理消息队列的框架
Stars: ✭ 19 (-69.35%)
Mutual labels:  queue, beanstalkd
coolbeans
Coolbeans is a distributed work queue that implements the beanstalkd protocol.
Stars: ✭ 56 (-9.68%)
Mutual labels:  queue, beanstalkd
beansclient
Robust PHP client for beanstalkd work queue
Stars: ✭ 86 (+38.71%)
Mutual labels:  queue, beanstalkd
linda
Linda is a simple dispatcher library.
Stars: ✭ 12 (-80.65%)
Mutual labels:  queue, beanstalkd
yii2-deferred-tasks
Yii2 extension for handling deferred tasks (background cron jobs)
Stars: ✭ 11 (-82.26%)
Mutual labels:  queue
Arduino-Queue.h
Generic C++ circular queue for Arduino embedded projects.
Stars: ✭ 59 (-4.84%)
Mutual labels:  queue
data-structure-project
自己实现集合框架系列整理总结
Stars: ✭ 29 (-53.23%)
Mutual labels:  queue
Task Easy
A simple, customizable, and lightweight priority queue for promises.
Stars: ✭ 244 (+293.55%)
Mutual labels:  queue
kue-unique
Unique job utility for kue
Stars: ✭ 23 (-62.9%)
Mutual labels:  queue
workq
A super tiny work queue
Stars: ✭ 38 (-38.71%)
Mutual labels:  queue
yii2-queue-monitor
Yii2 Queue Analytics Module
Stars: ✭ 99 (+59.68%)
Mutual labels:  queue
microq
Micro job queue built on mongo
Stars: ✭ 67 (+8.06%)
Mutual labels:  queue
qless-php
PHP Bindings for qless
Stars: ✭ 25 (-59.68%)
Mutual labels:  queue
dispatcher
Dispatcher is an asynchronous task queue/job queue based on distributed message passing.
Stars: ✭ 60 (-3.23%)
Mutual labels:  queue
fs
[READ-ONLY] Enterprise queue solutions for PHP. Filesystem transport.
Stars: ✭ 32 (-48.39%)
Mutual labels:  queue
flask-redis-docker
A minimal template for dockerized flask app with redis task queue
Stars: ✭ 49 (-20.97%)
Mutual labels:  queue
beanstalkd-cli
A simple cli interface for managing beanstalkd queues.
Stars: ✭ 28 (-54.84%)
Mutual labels:  beanstalkd
gitamp
Listen to music generated by events across github.
Stars: ✭ 29 (-53.23%)
Mutual labels:  amphp

beanstalk

Build Status CoverageStatus License

amphp/beanstalk is an asynchronous Beanstalk client for PHP based on Amp.

Installation

composer require amphp/beanstalk

Examples

More extensive code examples reside in the examples directory.

<?php

require __DIR__ . '/../vendor/autoload.php';

use Amp\Beanstalk\BeanstalkClient;
use Amp\Loop;

Loop::run(function () {
    $beanstalk = new BeanstalkClient("tcp://127.0.0.1:11300");
    yield $beanstalk->use('sometube');

    $payload = json_encode([
        "job" => bin2hex(random_bytes(16)),
        "type" => "compress-image",
        "path" => "/path/to/image.png"
    ]);

    $jobId = yield $beanstalk->put($payload);

    echo "Inserted job id: $jobId\n";

    $beanstalk->quit();
});

License

The MIT License (MIT). Please see LICENSE for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].