KingDarkness / lumen-horizon by KingDarkness

Dashboard and code-driven configuration for Laravel queues.
6,724
3
2
Package Data
Maintainer Username: KingDarkness
Maintainer Contact: taylor@laravel.com (Taylor Otwell)
Package Create Date: 2020-04-13
Package Last Update: 2022-03-29
Language: PHP
License: MIT
Last Refreshed: 2024-04-18 15:27:24
Package Statistics
Total Downloads: 6,724
Monthly Downloads: 15
Daily Downloads: 0
Total Stars: 3
Total Watchers: 2
Total Forks: 0
Total Open Issues: 1

Introduction

Lumen Horizon is based on the official Laravel Horizon (v3.7.2) package. It provides the same features as original package except the UI. Tested with Lumen 5.8

Installation

  1. Important! Uncomment in your bootstrap/app.php
$app->withFacades();
$app->withEloquent();

Make sure you register Illuminate\Redis\RedisServiceProvider::class in your boorstrap/app.php file.

    $app->register(Illuminate\Redis\RedisServiceProvider::class);

Add in your bootstrap/app.php

$app->configure('app');
  1. Run composer to add the dependency.
    composer require kingdarkness/lumen-horizon
  1. Publish config add the horizon.php to config/horizon
    cp vendor/kingdarkness/horizon-lumen/config/horizon.php config/horizon.php
  1. register provider in your bootstrap/app.php
    // add provider
    $app->register(Laravel\Horizon\HorizonServiceProvider::class);
    // add config
    $app->configure('horizon');

Official Documentation

Documentation for Horizon can be found on the Laravel website.