PHPackages                             dafiti/laravel-queue-manager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. dafiti/laravel-queue-manager

AbandonedArchivedLibrary[Queues &amp; Workers](/categories/queues)

dafiti/laravel-queue-manager
============================

Laravel Queue Manager

v0.0.18(9y ago)111MITPHPPHP &gt;=7.0.0

Since Mar 21Pushed 9y ago10 watchersCompare

[ Source](https://github.com/GFG/laravel-queue-manager)[ Packagist](https://packagist.org/packages/dafiti/laravel-queue-manager)[ RSS](/packages/dafiti-laravel-queue-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Laravel Queue Manager
=====================

[](#laravel-queue-manager)

The Laravel Queue Manager, manage the queue process worker.

It uses [Supervisor](http://supervisord.org/) as Process Control System.

It also has a scheduler system built-in.

Installation
------------

[](#installation)

### Composer

[](#composer)

```
$ composer require dafiti/laravel-queue-manager
```

### Publish

[](#publish)

```
$ php artisan vendor:publish --provider="LaravelQueueManager\Providers\LaravelQueueManagerServiceProvider"
```

### Running the migration

[](#running-the-migration)

If you have MySQL version before 5.7, change in the migration the field "schedule\_config" from "json" to "text".

```
$ php artisan migrate
```

### Adding the provider

[](#adding-the-provider)

You need to add the provider at the file config/app.php

```
LaravelQueueManager\Providers\LaravelQueueManagerServiceProvider::class,

```

Configuration
-------------

[](#configuration)

### Generating a job

[](#generating-a-job)

You need generate a class that extends LaravelQueueManager\\AbstractJob.

It's necessary to implement 2 methods:

MethodDescriptiongetName()The name of the jobexecute()The code of the job yourself### Dispatching a new job

[](#dispatching-a-new-job)

You need create a new instance of your job and call the dispatch() method.

Or use the CLI:

```
$ php artisan queue-manager:generate-queue queue_name
```

You can set optional params too:

```
$ php artisan queue-manager:generate-queue queue_name foo=test,bar=test
```

### Database

[](#database)

To the job work correctly, it is necessary generate a row in the queue\_config table.

FieldDescriptionnameIt's the same of the return of the getName() method.class\_nameThe full path with namespace of your job class (\\App\\Jobs\\TestJob)activeIf the job is active or notschedulableIf the job is schedulable or notschedule\_configA JSON config of the schedule. {"method" : "The schedule methods from laravel", "params": "The params to the schedule method (optional)"}max\_attempsThe max attempts of the queuemax\_instancesThe max parallel instances of the queuetimeoutThe timeout of the queuedelayThe delay to the next execution (Not implemented yet)connectionThe connection name of the queue provider. (If null = default)### Config

[](#config)

At the queue\_manager.php config file you can configure:

FieldDescriptionDefaultartisan\_pathThe artisan pathbase\_path('artisan')log\_pathThe log pathstorage\_path('logs/worker.log')supervisor\_config\_fileThe supervisor config file/etc/supervisor/conf.d/laravel-queue.confsupervisor\_binThe supervisor bin path/usr/bin/supervisorctlsupervisor\_userThe supervisor userdockersupervisor\_update\_timeoutThe supervisor update timeout to gracefully stop the process when a configuration change600execute\_as\_apiEnable the queue as API modefalseapi\_urlURL to run the queue as API mode### Showing all available jobs

[](#showing-all-available-jobs)

```
$ php artisan queue-manager:show-jobs
```

### Getting error events

[](#getting-error-events)

You need add to your AppServiceProvider and log as you like

```
$this->app['events']->listen(\LaravelQueueManager\Events\ScheduleError::class, function(\LaravelQueueManager\Events\ScheduleError $scheduleError){

});
```

Deploying
---------

[](#deploying)

### Supervisor config

[](#supervisor-config)

You need configure a cron to run as root every minute to generate the supervisor config

```
$ php artisan queue-manager:generate-config
```

### Scheduler

[](#scheduler)

You need configure a cron to run every minute to generate the scheduler

```
$ php artisan schedule:run
```

### Queue Restart

[](#queue-restart)

Every time you change the PHP code, it's necessary to restart the queues. Put this at your deploy script.

```
$ php artisan queue:restart
```

API Mode
--------

[](#api-mode)

### Introduction

[](#introduction)

To easily scale your jobs machine, you can run the queues in API mode. An API is much more easy to apply auto-scale.

### Configuration

[](#configuration-1)

In your route configuration file add:

```
$api->post('queue/process', 'LaravelQueueManager\Http\Controllers\QueueController@process');
```

Edit in your "queue\_manager.php" config file the execute\_as\_api and api\_url options.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~13 days

Total

2

Last Release

3324d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a6e726963eefa5bd662ab06efaa9c0696a0348a1b1dcd439c1b4c9afc763b43e?d=identicon)[dafiti](/maintainers/dafiti)

---

Top Contributors

[![pierophp](https://avatars.githubusercontent.com/u/125132?v=4)](https://github.com/pierophp "pierophp (57 commits)")

---

Tags

laravelqueuesupervisorqueue manager

### Embed Badge

![Health badge](/badges/dafiti-laravel-queue-manager/health.svg)

```
[![Health](https://phpackages.com/badges/dafiti-laravel-queue-manager/health.svg)](https://phpackages.com/packages/dafiti-laravel-queue-manager)
```

###  Alternatives

[laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

1.7k49.4M479](/packages/laravel-scout)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[pierophp/laravel-queue-manager

Laravel Queue Manager

182.4k](/packages/pierophp-laravel-queue-manager)[flat3/lodata

OData v4.01 Producer for Laravel

96320.9k](/packages/flat3-lodata)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
