github.com/yiisoft/yii2-queue ↗
Yii2 Queue Extension. Supports DB, Redis, RabbitMQ, Beanstalk and Gearman
Open this visualization on its own page →
Contributors
43
Lines of Code
2,102
From
2016-10-30
To
2020-12-23
About yiisoft/yii2-queue
Yii2 Queue Extension is an asynchronous task processing component for the Yii2 PHP framework. It provides a unified interface for managing background jobs through multiple queue backends including database, Redis, RabbitMQ, AMQP, Beanstalk, ActiveMQ, and Gearman.
The extension allows developers to define tasks as separate classes and push them to queues for asynchronous execution, with support for delayed job execution. It automatically registers console commands for processing queued tasks either in a one-time loop that empties the queue or as a persistent daemon that continuously monitors for new jobs. The component also includes job status tracking capabilities so applications can monitor the progress of submitted tasks.
The project requires PHP 8.3 or higher and is installed via Composer. It's designed to be flexible and backend-agnostic, allowing developers to choose their preferred queue system based on their infrastructure requirements.