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

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

arko/queue-manager
==================

Callables queue manager

06.6kPHP

Since Jun 26Pushed 10y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

QueueManagerBundle
==================

[](#queuemanagerbundle)

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

[](#installation)

Install it using composer:

```
composer.phar require arko/queue-manager "dev-master"
```

How to use
----------

[](#how-to-use)

Generally speaking, this component is designed to be used in a singleton style. Supposed that the QueueManager (or any class implementing the QueueManagerInterface) instance will be created once and retrieved later using some DIC like Symfony or Pimple. However, it`s up to you how to use it.

You can create an instance of the queue manager like this:

```
$queueManager = new Arko\QueueManager\QueueManager();
```

From now you can use it to add different actions to the named queues:

```
$queueManager->add(function() {
    // Do something here
}, 'queue_name');

// ...

$queueManager->add(function() {
    // Do something else, maybe somewhere else.
}, 'queue_name');
```

As a first argument to the queue manager add method you can provide any php callable.

Later you will be able to process the queue like this:

```
$queueManager->process('queue_name');
```

After the queue is processed, it will be cleared. Generally speaking, it will be cleared just before the queue is processed. So, nested queues should work just fine.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2427e8005d8ab00d2f03aa9046ebc162fd9297045b1c4a34dde265c3288a4ab3?d=identicon)[lemark](/maintainers/lemark)

---

Top Contributors

[![akozhemiakin](https://avatars.githubusercontent.com/u/752516?v=4)](https://github.com/akozhemiakin "akozhemiakin (8 commits)")

### Embed Badge

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

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

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[enqueue/enqueue

Message Queue Library

19820.0M56](/packages/enqueue-enqueue)[deliciousbrains/wp-background-processing

WP Background Processing can be used to fire off non-blocking asynchronous requests or as a background processing tool, allowing you to queue tasks.

1.1k409.8k6](/packages/deliciousbrains-wp-background-processing)[react/async

Async utilities and fibers for ReactPHP

2228.8M171](/packages/react-async)[react/promise-stream

The missing link between Promise-land and Stream-land for ReactPHP

11512.9M45](/packages/react-promise-stream)[illuminate/bus

The Illuminate Bus package.

6043.8M409](/packages/illuminate-bus)

PHPackages © 2026

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