yiisoft/yii2-queue

Created Feb 16, 2021 · View the yiisoft/yii2-queue repository page

Yii2 Queue Extension. Supports DB, Redis, RabbitMQ, Beanstalk and Gearman

Want this for your repo?

Render a free sample of any GitHub repo in seconds.

Visualize your own →

Contributors

43

Lines of Code

2,102

From

Oct 30, 2016

To

Dec 23, 2020

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.

Share this video