{"repo":"yiisoft/yii2-queue","free":true,"listed":false,"github":"https://github.com/yiisoft/yii2-queue","clone":"git clone https://github.com/yiisoft/yii2-queue.git","description":"Yii2 Queue Extension. Supports DB, Redis, RabbitMQ, Beanstalk and Gearman","language":"PHP","stars":1063,"topics":["yii2","queue","redis","amqp","gearman","async","beanstalk","rabbitmq","hacktoberfest"],"license":"BSD-3-Clause","category":"databases-storage","readme_excerpt":"Yii2 Queue Extension An extension for running tasks asynchronously via queues. It supports queues based on DB , Redis , RabbitMQ , AMQP , Beanstalk , ActiveMQ and Gearman . Installation ------------ [!IMPORTANT] - The minimum required PHP version is PHP 8.3 . The preferred way to install this extension is through composer: Basic Usage ----------- Each task which is sent to queue should be defined as a separate class. For example, if you need to download and save a file the class may look like the following: Here's how to send a task into the queue: To push a job into the queue that should run after 5 minutes: The exact way a task is executed depends on the used driver. Most drivers can be run using console commands, which the component automatically registers in your application. This command obtains and executes tasks in a loop until the queue is empty: This command launches a daemon which infinitely queries the queue: See the documentation for more details about driver specific console commands and their options. The component also has the ability to track the status of a job which was pushed into queue. Documentation - the guide Support the project Follow updates License","default_branch":null,"files":null,"tree":[],"storefront":"/r/yiisoft","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yiisoft/yii2-queue/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}