# yiisoft/yii2-queue

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

Repository: https://github.com/yiisoft/yii2-queue
Canonical: https://ross.abutalabs.com/products/yii2-queue
Homepage: http://www.yiiframework.com
Language: PHP
License: BSD-3-Clause
License Family: permissive
Topics: yii2, queue, redis, amqp, gearman, async, beanstalk, rabbitmq, hacktoberfest
Last push: 2026-08-31T20:18:20+00:00

## Health v2 (maintenance only)
Score: 68/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 8, longevity 100
- inputs: {"age_days": 3593, "days_push": 2, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1064, forks 285 (observed 2026-09-01T02:14:08.564354+00:00)

## What it is
A Yii2 framework extension for running tasks asynchronously via queues, with drivers for DB, Redis, RabbitMQ/AMQP, Beanstalk, ActiveMQ, and Gearman. Jobs are defined as PHP classes and executed via console worker commands, with support for delayed execution.

## Use cases
- run background jobs asynchronously in a yii2 app
- send emails or process files without blocking requests
- delay a task to run after a few minutes
- process image downloads in a worker queue
- offload slow tasks from web requests to a queue worker

## When to choose
- you use the Yii2 framework and need async task processing
- you want a unified queue API across multiple backends like Redis, RabbitMQ, or DB
- you need delayed/scheduled job execution with console workers

## When to avoid
- you use Laravel or Symfony (use their native queue systems)
- you need a standalone queue broker rather than a framework integration
- your project runs PHP below 8.3

## Facets
- artifact type: library
- maturity: active
- function: message-queue, scheduling, workflow-automation
- domain: backend, web-development
- platform: php, cli
- tags: yii2, queue, async-tasks, job-processing, rabbitmq, redis, beanstalk, gearman, amqp, messaging, automation, web-server

## Member repositories
- yiisoft/yii2-queue (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:14:08.564354+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:56:07.200437+00:00, confidence not recorded.
  - readme: https://github.com/yiisoft/yii2-queue (fetched 2026-09-01T02:14:08.564354+00:00, sha 2feb33ef352f)
  - homepage: http://www.yiiframework.com (fetched 2026-08-29T12:57:50.808162+00:00, sha f2ef08184ecc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
