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

ActiveCakephp-plugin[Queues &amp; Workers](/categories/queues)

crustum/batch-queue
===================

CakePHP Batch Queue

1.0.0(5mo ago)00MITPHPPHP &gt;=8.1CI passing

Since Dec 8Pushed 4mo agoCompare

[ Source](https://github.com/Crustum/batch-queue)[ Packagist](https://packagist.org/packages/crustum/batch-queue)[ RSS](/packages/crustum-batch-queue/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (3)Used By (0)

CakePHP BatchQueue Plugin
=========================

[](#cakephp-batchqueue-plugin)

The **BatchQueue** plugin provides a unified system for managing batch job processing in CakePHP applications. It supports both parallel execution (running the same job with different arguments simultaneously) and sequential chains (jobs run one after another with context accumulation). The plugin includes built-in support for compensation patterns, allowing you to define rollback operations that execute automatically when jobs fail.

The primary use case for parallel batches is the map-reduce pattern: running the same job class with different arguments to process multiple items concurrently.

For sequential chains, the plugin automatically accumulates context between jobs, allowing each step to build upon previous results. BatchQueue integrates seamlessly with the CakePHP Queue plugin.

The plugin includes support for job-specific arguments in parallel batches, automatic context accumulation in sequential chains, compensation job execution on failures, batch progress tracking, flexible storage backends (SQL or Redis).

Requirements
------------

[](#requirements)

- PHP 8.2+

See [Versions.md](docs/Versions.md) for the supported CakePHP versions.

Documentation
-------------

[](#documentation)

For documentation, as well as tutorials, see the [docs](docs/index.md) directory of this repository.

License
-------

[](#license)

Licensed under the [MIT](http://www.opensource.org/licenses/mit-license.php) License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance74

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

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.

###  Release Activity

Cadence

Every ~21 days

Total

2

Last Release

139d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f1f53020a99b0b08cda73130f837f37cae2ae8420ff0cc4ceb650a733c4a1bd6?d=identicon)[skiedr](/maintainers/skiedr)

---

Top Contributors

[![skie](https://avatars.githubusercontent.com/u/130799?v=4)](https://github.com/skie "skie (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[dereuromark/cakephp-queue

The Queue plugin for CakePHP provides deferred task execution.

308850.3k14](/packages/dereuromark-cakephp-queue)[amphp/parser

A generator parser to make streaming parsers simple.

14952.8M16](/packages/amphp-parser)[amphp/serialization

Serialization tools for IPC and data storage in PHP.

13451.1M18](/packages/amphp-serialization)[react/async

Async utilities and fibers for ReactPHP

2238.8M171](/packages/react-async)[amphp/pipeline

Asynchronous iterators and operators.

7432.7M34](/packages/amphp-pipeline)

PHPackages © 2026

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