PHPackages                             token27/cakephp-queue-plugin - 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. token27/cakephp-queue-plugin

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

token27/cakephp-queue-plugin
============================

The Queue plugin for CakePHP provides deferred task execution.

04PHP

Since Feb 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/token27/cakephp-queue-plugin)[ Packagist](https://packagist.org/packages/token27/cakephp-queue-plugin)[ RSS](/packages/token27-cakephp-queue-plugin/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

CakePHP Queue Plugin
====================

[](#cakephp-queue-plugin)

[![Latest Stable Version](https://camo.githubusercontent.com/79dabf939e04f9e638c42307d557121074cd6f9d74932b57e7274efe8dac34c0/68747470733a2f2f706f7365722e707567782e6f72672f746f6b656e32372f63616b657068702d71756575652d706c7567696e2f762f737461626c652e737667)](https://packagist.org/packages/token27/cakephp-queue-plugin)[![Minimum PHP Version](https://camo.githubusercontent.com/4c62148864d567c4ee794ffab09c1dd4a3f45e41064bbb016440beddaae71a4d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e322d3838393242462e737667)](https://php.net/)[![License](https://camo.githubusercontent.com/d624506d1394631f8abe28fe71eec01dc83b1d99587dc992d4387917585a3ecf/68747470733a2f2f706f7365722e707567782e6f72672f746f6b656e32372f63616b657068702d71756575652d706c7567696e2f6c6963656e7365)](https://packagist.org/packages/token27/cakephp-queue-plugin)[![Total Downloads](https://camo.githubusercontent.com/84168c05ee1dfdbf449b09bae7a3c7d5097db06a084245650170cc62f92e7744/68747470733a2f2f706f7365722e707567782e6f72672f746f6b656e32372f63616b657068702d71756575652d706c7567696e2f642f746f74616c)](https://packagist.org/packages/token27/cakephp-queue-plugin)[![Coding Standards](https://camo.githubusercontent.com/dbabe22710e675cb88cd0b12196f1477e2376dea497332775692cf1359a75918/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f63732d5053522d2d322d2d522d79656c6c6f772e737667)](https://github.com/php-fig-rectified/fig-rectified-standards)

This branch is for use with **CakePHP 4.0+**.

Background
----------

[](#background)

This is a very simple and minimalistic job queue (or deferred-task) system for CakePHP. If you need a very basic PHP internal queue tool, this is definitely an option.

The plugin is an attempt to provide a basic, simple to use method to enable deferred job execution, without the hassle of setting up or running an extra queue daemon, while integrating nicely into CakePHP and also simplifying the creation of worker scripts. You can also easily provide progress and status information into your pages.

### Why use deferred execution?

[](#why-use-deferred-execution)

Deferred execution makes sense (especially in PHP) when your page wants to execute tasks, which are not directly related to rendering the current page. For instance, in a BBS-type system, a new users post might require the creation of multiple personalized email messages, notifying other users of the new content. Creating and sending these emails is completely irrelevant to the currently active user, and should not increase page response time. Another example would be downloading, extraction and/or analyzing an external file per request of the user. The regular solution to these problems would be to create specialized cronjobs which use specific database states to determine which action should be done.

The Queue plugin provides a simple method to create and run such non-user-interaction-critical tasks.

Another important reason is that specific jobs can be (auto)retried if they failed. So if the email server didn't work the first time, or the API gateway had an issue, the current job to be executed isn't lost but kept for rerun. Most of those external services should be treated as failable once every x calls, and as such a queue implementation can help reducing issues due to such failures. If a job still can't finish despite retries, you still have the option to debug its payload and why this job cannot complete. No data is lost here.

While you can run multiple workers, and can (to some extent) spread these workers to different machines via a shared database, you should consider using a more advanced system for high volume/high number of workers systems.

Installation and Usage
----------------------

[](#installation-and-usage)

See [Documentation](docs).

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 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/7f4cdf9f7a82a4b72f6daea61e4dc989eaf0f038777c9e7de4ec2bf0b39f204a?d=identicon)[token27](/maintainers/token27)

---

Top Contributors

[![token27](https://avatars.githubusercontent.com/u/78189912?v=4)](https://github.com/token27 "token27 (7 commits)")

### Embed Badge

![Health badge](/badges/token27-cakephp-queue-plugin/health.svg)

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

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