PHPackages                             stakhanovist/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. stakhanovist/queue

ActiveLibrary[Queues &amp; Workers](/categories/queues)

stakhanovist/queue
==================

Create specific queue client objects

v0.1.3(11y ago)1122[6 issues](https://github.com/stakhanovist/queue/issues)2BSD-3-ClausePHPPHP &gt;=5.4

Since Apr 15Pushed 10y agoCompare

[ Source](https://github.com/stakhanovist/queue)[ Packagist](https://packagist.org/packages/stakhanovist/queue)[ Docs](https://github.com/stakhanovist/queue)[ RSS](/packages/stakhanovist-queue/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (7)Versions (7)Used By (2)

Stakhanovist Queue
------------------

[](#stakhanovist-queue)

[![Last Release](https://camo.githubusercontent.com/49f486a70faad7f83d75a6152f912a7d74bd6e28caa7a4145c6d68404a68ba8f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7374616b68616e6f766973742f71756575652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/stakhanovist/queue) [![BuildStatus](https://camo.githubusercontent.com/0f503df2dfd61c7332c0566aaf30b78942632458cd7846bf11993fc0337935ba/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7374616b68616e6f766973742f71756575652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/stakhanovist/queue)

> Provides a factory function to create specific queue client objects.

This library aims to provide a [message queue](http://en.wikipedia.org/wiki/Message_queue) abstraction layer, usefull for inter-process comunication or for distributed processing (a complete job queue system can be implemented using the [worker library](https://github.com/stakhanovist/worker)).

Currenty, the following **message queue services** are supported:

- A **SQL database driven queue** via `Zend\Db`

    > Install [stakhanovist/queue-db](http://github.com/stakhanovist/queue-db)
- A **MongoDb database driven queue**, with message awaiting support ([using capped collection and tailable cursor](http://shtylman.com/post/the-tail-of-mongodb))

    > Install [stakhanovist/queue-mongodb](http://github.com/stakhanovist/queue-mongodb)
- A local array useful for non-persistent queues and for unit testing

    > Already included in this library

Installation
------------

[](#installation)

Install it using [composer](http://getcomposer.org).

Add the following to your `composer.json` file:

```
"require": {
    "stakhanovist/queue": "~0.2.0",
}

```

License
-------

[](#license)

Stakhanovist Queue is licensed under the [BSD 2-Clause License](https://github.com/stakhanovist/queue/blob/master/LICENSE) except otherwise stated.

As this library initially started as a refactoring of the [**Zend\\Queue** library](https://github.com/zendframework/ZendQueue) code, for source code parts still used the original [New BSD License](https://github.com/stakhanovist/queue/blob/master/LICENSE.ZF) is retained.

---

[![Analytics](https://camo.githubusercontent.com/4182d6ccf7744a7e5eb9fd0b76b88b090e9c6703869343b5d68b555c50a9f64a/68747470733a2f2f67612d626561636f6e2e61707073706f742e636f6d2f55412d34393635373137362d342f71756575653f666c6174)](https://github.com/igrigorik/ga-beacon)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.7% of commits — single point of failure

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 ~84 days

Total

5

Last Release

3710d ago

PHP version history (3 changes)v0.1.0PHP &gt;=5.3.23

v0.1.2PHP &gt;=5.4

v0.2.0-betaPHP &gt;=5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/504f6b7857bcaa1337d91366a2768d65dcfcdf12ca9281422f7b4d9404aba4ac?d=identicon)[fntlnz](/maintainers/fntlnz)

![](https://avatars.githubusercontent.com/u/120051?v=4)[Leo Di Donato](/maintainers/leodido)[@leodido](https://github.com/leodido)

![](https://avatars.githubusercontent.com/u/3390997?v=4)[Leonardo Grasso](/maintainers/leogr)[@leogr](https://github.com/leogr)

---

Top Contributors

[![leogr](https://avatars.githubusercontent.com/u/3390997?v=4)](https://github.com/leogr "leogr (202 commits)")[![pruno](https://avatars.githubusercontent.com/u/1735022?v=4)](https://github.com/pruno "pruno (51 commits)")[![leodido](https://avatars.githubusercontent.com/u/120051?v=4)](https://github.com/leodido "leodido (29 commits)")[![Maks3w](https://avatars.githubusercontent.com/u/1301698?v=4)](https://github.com/Maks3w "Maks3w (22 commits)")[![weierophinney](https://avatars.githubusercontent.com/u/25943?v=4)](https://github.com/weierophinney "weierophinney (19 commits)")[![iwalz](https://avatars.githubusercontent.com/u/2069984?v=4)](https://github.com/iwalz "iwalz (12 commits)")[![fntlnz](https://avatars.githubusercontent.com/u/3083633?v=4)](https://github.com/fntlnz "fntlnz (7 commits)")[![ralphschindler](https://avatars.githubusercontent.com/u/76674?v=4)](https://github.com/ralphschindler "ralphschindler (6 commits)")[![prolic](https://avatars.githubusercontent.com/u/394428?v=4)](https://github.com/prolic "prolic (5 commits)")[![DASPRiD](https://avatars.githubusercontent.com/u/233300?v=4)](https://github.com/DASPRiD "DASPRiD (4 commits)")[![sasezaki](https://avatars.githubusercontent.com/u/42755?v=4)](https://github.com/sasezaki "sasezaki (4 commits)")[![Slamdunk](https://avatars.githubusercontent.com/u/152236?v=4)](https://github.com/Slamdunk "Slamdunk (3 commits)")[![thomasweidner](https://avatars.githubusercontent.com/u/424710?v=4)](https://github.com/thomasweidner "thomasweidner (3 commits)")[![xepa](https://avatars.githubusercontent.com/u/495465?v=4)](https://github.com/xepa "xepa (2 commits)")[![MichaelGooden](https://avatars.githubusercontent.com/u/1275012?v=4)](https://github.com/MichaelGooden "MichaelGooden (2 commits)")[![necrogami](https://avatars.githubusercontent.com/u/33020?v=4)](https://github.com/necrogami "necrogami (1 commits)")[![marc-mabe](https://avatars.githubusercontent.com/u/302689?v=4)](https://github.com/marc-mabe "marc-mabe (1 commits)")[![EvanDotPro](https://avatars.githubusercontent.com/u/5607?v=4)](https://github.com/EvanDotPro "EvanDotPro (1 commits)")[![deegital](https://avatars.githubusercontent.com/u/239504?v=4)](https://github.com/deegital "deegital (1 commits)")[![b-durand](https://avatars.githubusercontent.com/u/554218?v=4)](https://github.com/b-durand "b-durand (1 commits)")

---

Tags

queuezf2

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[php-amqplib/php-amqplib

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

4.6k125.3M879](/packages/php-amqplib-php-amqplib)[ramsey/collection

A PHP library for representing and manipulating collections.

1.2k486.0M69](/packages/ramsey-collection)[queue-interop/queue-interop

Promoting the interoperability of MQs objects. Based on Java JMS

48130.5M87](/packages/queue-interop-queue-interop)[phootwork/collection

The phootwork library fills gaps in the php language and provides better solutions than the existing ones php offers.

3924.8M15](/packages/phootwork-collection)[prolic/humus-amqp-module

AMQP module for Zend Framework 2 to integrate RabbitMQ

3157.0k1](/packages/prolic-humus-amqp-module)[apinstein/jqjobs

Async job manager for PHP.

3220.2k](/packages/apinstein-jqjobs)

PHPackages © 2026

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