PHPackages                             indigophp/queue - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. indigophp/queue

Abandoned → [bernard/bernard](/?search=bernard%2Fbernard)ArchivedLibrary[Queues &amp; Workers](/categories/queues)

indigophp/queue
===============

Manage work queues with PHP

v1.0(12y ago)8102[1 issues](https://github.com/indigophp-archive/queue/issues)1MITPHPPHP &gt;=5.3.0

Since Oct 14Pushed 11y ago1 watchersCompare

[ Source](https://github.com/indigophp-archive/queue)[ Packagist](https://packagist.org/packages/indigophp/queue)[ RSS](/packages/indigophp-queue/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (3)Dependencies (2)Versions (5)Used By (1)

Indigo Queue
============

[](#indigo-queue)

[![Build Status](https://camo.githubusercontent.com/5a35a4147c34b2f41f3c4a14227a0026665635475b01fed2d6e366f687a58a62/68747470733a2f2f7472617669732d63692e6f72672f696e6469676f7068702f71756575652e706e673f6272616e63683d646576656c6f70)](https://travis-ci.org/indigophp/queue)[![Code Coverage](https://camo.githubusercontent.com/761d74dabafdb3da3af76f7308292b816c3ee7b8b54668ebe53d4455a90092c2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f696e6469676f7068702f71756575652f6261646765732f636f7665726167652e706e673f733d38316665626435616631663665343861333730623737353366346338313431366439383165393234)](https://scrutinizer-ci.com/g/indigophp/queue/)[![Latest Stable Version](https://camo.githubusercontent.com/7cbed586cc86ae5ea2357d070b288005918a07cad3a200d50249b0500dc49ed8/68747470733a2f2f706f7365722e707567782e6f72672f696e6469676f7068702f71756575652f762f737461626c652e706e67)](https://packagist.org/packages/indigophp/queue)[![Total Downloads](https://camo.githubusercontent.com/0980c863522b54b4758011148d71807eea23d57a9e0b5aac3060c9024e987653/68747470733a2f2f706f7365722e707567782e6f72672f696e6469676f7068702f71756575652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/indigophp/queue)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/a28ae34ab78343476bbd991e78147530ed657c59e9b1bf2d5dc08de3b4422633/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f696e6469676f7068702f71756575652f6261646765732f7175616c6974792d73636f72652e706e673f733d38333230386432616637666533393263323934326131376664316632363431666230663930333264)](https://scrutinizer-ci.com/g/indigophp/queue/)[![License](https://camo.githubusercontent.com/c72329f6b98da11317a9edd2efef538c48bdd55edd6844a93ecc4df311501533/68747470733a2f2f706f7365722e707567782e6f72672f696e6469676f7068702f71756575652f6c6963656e73652e706e67)](https://packagist.org/packages/indigophp/queue)[![Dependency Status](https://camo.githubusercontent.com/f28cd2279552b4f8d47bec764382b88ad036f8744e9e90fab68e03fc6d3d717b/687474703a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3533636437636538323235343236383533353030303135332f62616467652e7376673f7374796c653d666c6174)](http://www.versioneye.com/user/projects/53cd7ce82254268535000153)

**Indigo Queue manages your queues and processes the jobs you put onto them.**

Install
-------

[](#install)

Via Composer

```
{
    "require": {
        "indigophp/queue": "@stable"
    }
}
```

Usage
-----

[](#usage)

First of all you have decide which MQ do you want to use. Currently supported MQs:

- [Beanstalkd](http://kr.github.io/beanstalkd/)
- [RabbitMQ](http://www.rabbitmq.com/)
- [IronMQ](http://www.iron.io/)

There is also a special implementation, where to job is not sent to a queue, but executed immediately.

### Connector

[](#connector)

Connector does the communication between the server and the Queue/Worker class.

### Queue

[](#queue)

You use the Queue class to push jobs to a queue. You can also push a job with a delay.

See [Queue example](examples/Queue.php).

### Worker

[](#worker)

You usually set up a console application for your workers.

See [Worker example](examples/Worker.php).

### Job

[](#job)

See [examples](examples);

### Special connector: DirectConnector

[](#special-connector-directconnector)

This connector does what you think: Executes the pushed job immediately. You can also push a delayed job, BUT BE CAREFUL: this means that your application will sleep for a certain time, so use it wisely.

Testing
-------

[](#testing)

```
$ codecept run
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/indigophp/queue/blob/develop/CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Márk Sági-Kazár](https://github.com/sagikazarmark)
- [All Contributors](https://github.com/indigophp/queue/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/indigophp/queue/blob/develop/LICENSE) for more information.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~94 days

Total

4

Last Release

4314d ago

Major Versions

v1.0 → v2.0.0-alpha2014-01-24

PHP version history (3 changes)v1.0PHP &gt;=5.3.0

v2.0.0-alphaPHP &gt;=5.3.3

v2.0.0-rc1PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e4e105cea62b616d4cb376b08a849b6a428f646998537de150d16a8eb537b90?d=identicon)[mark.sagikazar](/maintainers/mark.sagikazar)

![](https://www.gravatar.com/avatar/1585b5a08e138e348f5b646231d0f16cb2eae06501fb9462bbc97a794d4de84a?d=identicon)[TamasBarta](/maintainers/TamasBarta)

---

Tags

queuejobworker

### Embed Badge

![Health badge](/badges/indigophp-queue/health.svg)

```
[![Health](https://phpackages.com/badges/indigophp-queue/health.svg)](https://phpackages.com/packages/indigophp-queue)
```

###  Alternatives

[swarrot/swarrot

A simple lib to consume RabbitMQ queues

3654.4M8](/packages/swarrot-swarrot)[clue/mq-react

Mini Queue, the lightweight in-memory message queue to concurrently do many (but not too many) things at once, built on top of ReactPHP

144691.7k4](/packages/clue-mq-react)[tarantool/queue

PHP bindings for Tarantool Queue.

64136.2k4](/packages/tarantool-queue)[phlib/beanstalk

Library for handling beanstalk connections.

1014.9k2](/packages/phlib-beanstalk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
