jc-it / yii2-job-queue-logging
Job Queue implementation - Logging extension.
v3.0.0
2025-04-10 10:05 UTC
Requires
- php: >=8.3
- jc-it/yii2-job-queue: ^3.0
Requires (Dev)
- brainmaestro/composer-git-hooks: ^3.0
- codeception/codeception: ^5.2
- codeception/module-asserts: ^3.0
- codeception/module-yii2: ^2.0
- scrutinizer/ocular: ^1.9
- squizlabs/php_codesniffer: ^3.12
This package is auto-updated.
Last update: 2025-04-10 12:49:23 UTC
README
This extension provides a package extends the job queue implementation with logging.
$ composer require jc-it/yii2-job-queue-logging
or add
"jc-it/yii2-job-queue-logging": "<latest version>"
to the require
section of your composer.json
file.
Configuration
- Implement
\JCIT\jobqueue\interfaces\JobHandlerLoggerInterface::class
and register it in your DI - Either add it to you JobHandler or extend
\JCIT\jobqueue\jobHandlers\LoggingHandler::class
\JCIT\jobqueue\events\JobQueueEvent
is triggered on->put
and->handle
to enable even more precise logging