friday14/artisan-beanstalk

There is no license information available for the latest version (v1.0.1) of this package.

Artisan command for beanstalk

v1.0.1 2017-12-19 11:09 UTC

This package is not auto-updated.

Last update: 2024-04-28 02:58:23 UTC


README

The component provides an artisan command for Beanstalk. With which you can run worker for all queues that have the format subject.queue.

Install

composer require friday14/artisan-beanstalk ~1.0

Add the ServiceProvider to the providers array in config/app.php

Friday14\Beanstalk\ServiceProvider::class

Usage Instructions

For example, if there are 3 queues with names subject.queue1, subject.queue2, subject.queue3 We can run all artisan with the artisan command:

php artisan queue:beanstalk --queue=subject.*