cakephp / queue
Queue plugin for CakePHP
Installs: 140 685
Dependents: 3
Suggesters: 0
Security: 0
Stars: 36
Watchers: 21
Forks: 19
Open Issues: 10
Type:cakephp-plugin
Requires
- php: >=8.1
- cakephp/cakephp: ^5.0.0
- enqueue/simple-client: ^0.10
- psr/log: ^3.0
Requires (Dev)
- cakephp/bake: ^3.0.0
- cakephp/cakephp-codesniffer: ^5.0
- enqueue/fs: ^0.10
- phpunit/phpunit: ^10.1.0
Suggests
- cakephp/bake: Required if you want to generate jobs.
- cakephp/migrations: Needed for running the migrations necessary for using Failed Jobs.
- 2.x-dev
- 2.1.0
- 2.0.1
- 1.x-dev
- 1.1.0
- 1.0.0
- 0.1.15
- 0.1.14
- 0.1.13
- 0.1.12
- 0.1.11
- 0.1.10
- 0.1.9
- 0.1.8
- 0.1.7
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-dependabot/composer/phpunit/phpunit-tw-11.5.2
- dev-dependabot/composer/phpunit/phpunit-tw-11.5.1
- dev-dependabot/github_actions/codecov/codecov-action-5
- dev-2.x-update-stan
- dev-2.next
This package is auto-updated.
Last update: 2024-12-23 11:48:36 UTC
README
This is a Queue system for CakePHP.
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(): void { 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.