salopot / laravel-queue-walker by salopot

Laravel queue walker, process all jobs on a queue.
531
2
1
Package Data
Maintainer Username: salopot
Maintainer Contact: salopot@gmail.com (Alexander Kireev)
Package Create Date: 2016-04-12
Package Last Update: 2016-04-12
Language: PHP
License: MIT
Last Refreshed: 2024-03-27 03:19:30
Package Statistics
Total Downloads: 531
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Laravel queue walker

Process all jobs on a queue.

Features

  • Based on queue:work command.
  • Once exec all jobs awaiting in queue and end executing
  • Don't require dedicated or virtual server to process queues (best way use "php artisan queue:work --daemon")
  • Stored "queue:work" options: queue, delay, memory, tries

Installation

The preferred way to install this extension is through composer.

Require this package with composer using the following command:

composer require salopot/laravel-queue-walker "dev-master"

or add

"salopot/laravel-queue-walker": "dev-master"

to the require section of your composer.json file.

After updating composer, add the ServiceProvider to the providers array in config/app.php

Salopot\QueueWalker\QueueWalkerServiceProvider::class,

Usage

Run artisan command for execute all jobs awaiting in queue:

php artisan queue:walk

or add call command to laravel scheduler (see: https://laravel.com/docs/5.1/scheduling)

$schedule->command('queue:walk')->everyMinute();