Horizon

Adds Laravel Horizon to Flarum

Compatible with Flarum v1.8.5

Latest release 0.4.2

3,063 downloads

released on May 6, 2020

Tags

Horizon, the queue dashboard

This extension adds full integration for Laravel Horizon.

Which includes:

  • a dashboard at (yoursite.com/admin/horizon)
  • scalable redis workers with balancing strategies
  • multiple scalable redis worker servers (untested)
  • and much more.

Laravel Horizon runs only using a redis connection. As such you have to configure blomstra/redis. If you don't you will see errors pop up.

Installation

Install manually with composer:

composer require blomstra/horizon:"*"

Set up

Enable the extension from your admin area and then run php flarum horizon. This will only run as long as your process is active, so make sure to set it up using supervisor or something similar, see the Horizon Documentation for instructions.

Configure

By default this extension will set up a default queue connection called horizon using redis. You can override the full horizon config using an extender in your local extend.php in the root of your flarum installation:

<?php

return [
    (new Blomstra\Horizon\Extend\Horizon)->config(
        './your-horizon-config.php'
    )
];

Links


  • Blomstra provides managed Flarum hosting.
  • https://blomstra.net

© 2024 Hyn by DaniĆ«l "Luceos" Klabbers. All rights reserved. · Extensions and extension information is provided by the respective (copyright holding) authors. · Extiverse is not affiliated to the Flarum project or Flarum foundation. · Images on Extiverse pages are from Unsplash.