laravel-lumen/horizon

Dashboard and code-driven configuration for Laravel-lumen queues.
4,444 4
Install
composer require laravel-lumen/horizon
Latest Version:v1.0.7
PHP:^7.3|^8.0
License:MIT
Last Updated:Mar 7, 2022
Links: GitHub  ·  Packagist
Maintainer: hys111

Introduction

Lumen Horizon is based on the official Laravel Horizon (v5.x) package. It provides the same features as original package except the UI. Tested with Lumen 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 laravel-lumen/horizon
  1. Publish config add the horizon.php to config/horizon
    cp vendor/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.