PHPackages                             bokt/flarum-queue - 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. bokt/flarum-queue

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

bokt/flarum-queue
=================

Adds Queues to Flarum

0.1-beta.1(7y ago)1116MITPHP

Since Feb 8Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Bokt/flarum-queue)[ Packagist](https://packagist.org/packages/bokt/flarum-queue)[ RSS](/packages/bokt-flarum-queue/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

Flarum Queue
============

[](#flarum-queue)

This is a helper package for extension developers that adds Laravel Queue ability to Flarum.

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

[](#installation)

Inside your the `composer.json` of your extension add under the require section `bokt/flarum-queue`:

```
  "require": {
    // ..
    "bokt/flarum-queue": "*"
  }
```

Make sure you register the QueueProvider in your `extend.php`:

```
return [
    new \Bokt\Queue\Extend\EnableQueues,
  // .. your code
];
```

Developer instructions
----------------------

[](#developer-instructions)

In your source code you need to resolve the `Illuminate\Queue\QueueManager` or its alias `queue` from the container. This allows you to push jobs into the queue.

```
app()->make('queue')->push(new YouHadOneJob);
```

Test whether your job is queued in the jobs table and by running with the flarum binary:

```
$ php flarum queue:work
```

User instructions
-----------------

[](#user-instructions)

By default the database driver is used. You can override this by providing a queue configuration in your `config.php` under the `queue` key, eg:

```
  'database' => [
    // ..
  ],
  'queue' => [
    'driver' => 'redis',
    'connection' => 'default',
    'queue' => env('REDIS_QUEUE', 'default'),
    'retry_after' => 90,
    'block_for' => null,
  ],
```

This configuration will we be bound under `queue.connections.custom` and set as the default.

> Other drivers are supported, check the [Laravel documentation](https://laravel.com/docs/5.7/queues#driver-prerequisites).

### Database queue

[](#database-queue)

Make sure you add to your user instructions the need to run:

```
$ php flarum queue:tables
```

This will migrate the jobs and failed\_jobs tables into the database.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

2647d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/504687?v=4)[Daniël Klabbers](/maintainers/Luceos)[@luceos](https://github.com/luceos)

---

Top Contributors

[![luceos](https://avatars.githubusercontent.com/u/504687?v=4)](https://github.com/luceos "luceos (14 commits)")

---

Tags

queueextensionjobsflarumbokt

### Embed Badge

![Health badge](/badges/bokt-flarum-queue/health.svg)

```
[![Health](https://phpackages.com/badges/bokt-flarum-queue/health.svg)](https://phpackages.com/packages/bokt-flarum-queue)
```

###  Alternatives

[croustibat/filament-jobs-monitor

Background Jobs monitoring like Horizon for all drivers for FilamentPHP

254255.2k6](/packages/croustibat-filament-jobs-monitor)[trntv/yii2-command-bus

Yii2 Command Bus extension

57625.1k8](/packages/trntv-yii2-command-bus)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

3786.5k](/packages/harris21-laravel-fuse)[enqueue/job-queue

Job Queue

34390.8k6](/packages/enqueue-job-queue)[ignatenkovnikita/yii2-queuemanager

Yii2 Queue Manager

2061.8k2](/packages/ignatenkovnikita-yii2-queuemanager)[mateffy/laravel-job-progress

Track and show progress of your background jobs (for progress bar UIs etc.)

451.2k](/packages/mateffy-laravel-job-progress)

PHPackages © 2026

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