cakephp-queue

Queue plugin for CakePHP - simple, pure PHP and without dependencies.

MIT License

Downloads
633.9K
Stars
301
Committers
64
cakephp-queue - 6.0.0-alpha

Published by dereuromark over 3 years ago

Pre-Release

A pre-release for the new major v6.

Main improvements

  • Decoupled from old Shell/Task system as well as proxied to ConsoleIo using Io adapter class
  • Now plugin and app tasks can coexist with the same name as MyTask vs MyPlugin.MyTask
  • Allow adding command also by FQCN::class usage via QueuedJobsTable::createJob()
  • Includes migrating command to quickly make your existing tasks compatible.

BC breaking changes

  • job_type field of queued_jobs table has been renamed to job_task
  • Tasks have been moved to new namespace (use migrating tool to migrate)
  • CLI commands have been renamed, see bin/cake overview for details.

Please help to test and stabilize.

cakephp-queue - 5.4.0

Published by dereuromark over 3 years ago

Improvements

  • Allows interrupting worker's sleep() with SIGUSR1
cakephp-queue - 5.3.0

Published by dereuromark over 3 years ago

Improvements

Updated icons to fontawsome 5.
If you need to retain the old ones, you can easily alias them via Tools plugin config.

cakephp-queue - 5.2.1

Published by dereuromark almost 4 years ago

Fixes

Fixed return types for search functionality.

cakephp-queue - 5.2.0

Published by dereuromark almost 4 years ago

Improvements

  • Better logging and debugging for execute tasks.
  • Allowing to trigger jobs from the admin backend for tasks that implement AddInterface
cakephp-queue - 5.1.0

Published by dereuromark about 4 years ago

Improvements

  • Upgraded templates to BS 4
  • PHPStan level 8

Fixes

  • Fixed Email task for non templating emails together with latest Tools release.
cakephp-queue - 5.0.3

Published by dereuromark over 4 years ago

Fixes

  • Added missing helpers for Controller
  • Fixed CS and constructor signatures for PHP 7.
cakephp-queue - 5.0.2

Published by dereuromark over 4 years ago

Fixes

Stability now stable.

cakephp-queue - 5.0.1

Published by dereuromark over 4 years ago

Fixes

Fixed email queue task for Mailer objects.

cakephp-queue - 5.0.0

Published by dereuromark over 4 years ago

CakePHP 4 release

A standalone queue solution for CakePHP apps.

  • Out of the box email queuing
  • Simple to set up, simple to use
  • Transparent status through backend

Migration guide

To make sure the signatures of the Tasks are up to date, run any regexp or changeset over it, similar to the following sed command:

sed -i 's|public function run(array $data, $id) {|public function run(array $data, int $id): void {|g' src/Shell/Task/*Task.php

Dont' forget to add implements AddInterface if the add() method is supported/included in that task.

cakephp-queue - 4.4.0

Published by dereuromark over 4 years ago

Improvements

Backported a CakePHP 4.x branch feature of auto-using from if configured (using Configure Config.adminEmail value).
Also allow easier testing of Email task now.

cakephp-queue - 4.3.1

Published by dereuromark over 4 years ago

Bugfixes

Fixed re-queuing to be allowed to force-reset quicker.

cakephp-queue - 5.0.0-rc

Published by dereuromark almost 5 years ago

CakePHP 4 RC

Basic Queue email functionality re-enabled.
Included also 4.3.0 improvements around requeue and status display/info.

cakephp-queue - 4.3.0

Published by dereuromark almost 5 years ago

Improvements

Better display of failure count and requeue-status.

Removed deprecations, the plugin now requires CakePHP 3.8+.
Note: The changes mean you can now no longer call any method on the Email tasks using setX string config keys. It will auto prefix each setter with set. So setTo should be/stay to.

cakephp-queue - 4.2.3

Published by dereuromark almost 5 years ago

Bugfixes

  • Fixed display of reset buttons on QueuedJob view page.
  • Fixed resetting of progress to display progress for reset jobs.
cakephp-queue - 5.0.0-beta

Published by dereuromark almost 5 years ago

CakePHP 4 compatible pre-release.

Please help to finalize for stable release.

cakephp-queue - 4.2.2

Published by dereuromark almost 5 years ago

Improvements

Added separation for resetting jobs: failed only or all.

cakephp-queue - 4.2.1

Published by dereuromark almost 5 years ago

Improvements

Added a redirect functionality for reset and remove actions.
This way you can use them from your application directly.

cakephp-queue - 4.2.0

Published by dereuromark almost 5 years ago

Improvements

Refactored IdeHelper generator tasks for new 0.14.0 compatibility.

cakephp-queue - 4.1.1

Published by dereuromark almost 5 years ago

Bugfixes

Added self-healing during queue worker-run.