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

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

kurzor/queue
============

Implementation of PHP task queue using db to store tasks and statistics

011PHP

Since Jan 29Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Simple queue in PHP - currently under development.

[![Build Status](https://camo.githubusercontent.com/5ad15dc1dafad40d4a6af7eb20c33840e9b1dee18374e8e636f93ae0e7bedb4c/68747470733a2f2f7472617669732d63692e6f72672f6d6172656b676163682f71756575652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/marekgach/queue)[![Coverage Status](https://camo.githubusercontent.com/84b97aa2f404d523c0370755b89bee57f311486350ee3fbc1344a1cab95bd4f1/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6d6172656b676163682f71756575652f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/marekgach/queue?branch=master)

You need to have table jobs present in your database. Please run the SQL below to create it.

```
DROP TABLE IF EXISTS `jobs`;
CREATE TABLE `jobs` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `handler` text COLLATE utf8_czech_ci NOT NULL,
  `queue` varchar(255) COLLATE utf8_czech_ci NOT NULL DEFAULT 'default',
  `attempts` int(10) unsigned NOT NULL DEFAULT '0',
  `run_at` datetime DEFAULT NULL,
  `locked_at` datetime DEFAULT NULL,
  `locked_by` varchar(255) COLLATE utf8_czech_ci DEFAULT NULL,
  `failed_at` datetime DEFAULT NULL,
  `error` text COLLATE utf8_czech_ci,
  `created_at` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;

```

Running tests
-------------

[](#running-tests)

```
php composer.phar install && php composer.phar install
vendor/bin/phpunit --bootstrap=tests/TestHelper.php

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

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/18b93d6bbf3f004affb009905d3ff7f6f92a267e2311d83596db443f8d3a301b?d=identicon)[marekgach](/maintainers/marekgach)

---

Top Contributors

[![marekgach](https://avatars.githubusercontent.com/u/7091135?v=4)](https://github.com/marekgach "marekgach (45 commits)")

### Embed Badge

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

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

###  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)
