Skip to content
/ queue Public

A queue-interop compatible Queueing library

License

Notifications You must be signed in to change notification settings

cakephp/queue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f07844e · Nov 4, 2022
Apr 21, 2022
Nov 4, 2022
Nov 4, 2022
Nov 4, 2022
May 25, 2022
Nov 4, 2022
Nov 16, 2020
Nov 16, 2020
Jan 3, 2020
Jan 3, 2020
Dec 28, 2019
Jan 5, 2020
Apr 22, 2021
Nov 4, 2022
Mar 23, 2022
Jan 18, 2020
Mar 30, 2022
Nov 4, 2022
Mar 28, 2022

Repository files navigation

Queue plugin for CakePHP

Build Status Software License Coverage Status Total Downloads

This is a Queue system for CakePHP 4.

The plugin consists of a CakePHP shell wrapper and Queueing libraries for the php-queue queue library.

Installation

You can install this plugin into your CakePHP application using Composer.

Run the following command

composer require cakephp/queue

Install the transport you wish to use. For a list of available transports, see this page. The example below is for pure-php redis:

composer require enqueue/redis predis/predis:^1

Configuration

You can load the plugin using the shell command:

bin/cake plugin load Cake/Queue

Or you can manually add the loading statement in the src/Application.php file of your application:

public function bootstrap()
{
    parent::bootstrap();
    $this->addPlugin('Cake/Queue');
}

Additionally, you will need to configure the default queue configuration in your config/app.php file.

Documentation

Full documentation of the plugin can be found on the CakePHP Cookbook.