ExpressionEngine’s missing queue module
If you have used DataGrab, you have already used Queue. The queue components from DataGrab were extracted to create this standalone add-on, designed to function independently as a queue system for any ExpressionEngine add-on. It is a self-contained adaptation of Laravel’s Queue, supporting both Database (default) and Redis drivers.
Using Queue as an add-on developer is as easy as creating your job handler class (see the docs), then pushing data to the queue.
$dataToProcess = ['some', 'data', 'to process'];
if (ee('Addon')->get('queue')?->isInstalled()) {
ee('queue:QueueManager')->push(
MyCoolJob::class,
$dataToProcess
);
} else {
// Process data the old way
}
Requires PHP 8.2 or greater
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.