2017 © Pedro Peláez
 

library horizon-lumen

Dashboard and code-driven configuration for Laravel queues.

image

kinsolee/horizon-lumen

Dashboard and code-driven configuration for Laravel queues.

  • Tuesday, July 24, 2018
  • by KinsoLee
  • Repository
  • 1 Watchers
  • 4 Stars
  • 935 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 251 Forks
  • 0 Open issues
  • 24 Versions
  • 447 % Grown

The README.md

Introduction

Horizon Horizon is based on the official Laravel Horizon package.The web UI is also included., (*1)

If you prefer a pure restful api and want to customize the UI, you can refer to Lumen-horizon by servocoder., (*2)

Installation

  1. Run composer to add the dependency.
composer require kinsolee/horizon-lumen

2.Add the vendor:publish command dependency and publish its assets and config file., (*3)

composer require "laravelista/lumen-vendor-publish" --dev
  1. Add Laravelista\LumenVendorPublish\VendorPublishCommand to app/Console/Kernel.php file., (*4)

  2. Add $app->register(\Laravel\Horizon\HorizonServiceProvider::class); in your boorstrap/app.php file., (*5)

  3. Publish horizon vendor, (*6)

php artisan vendor:publish --provider="Laravel\Horizon\HorizonServiceProvider"

Problems

  • If you get the follow errors when you run vendor:publish:
Type error: Argument 1 passed to Laravel\Horizon\Repositories\RedisMasterSupervisorRepository::__construct() must implement interface Illuminate\Contr
  acts\Redis\Factory, instance of Redis given

Make sure you register Illuminate\Redis\RedisServiceProvider::class in your boorstrap/app.php file., (*7)

  • If you deploy horizon-lumen on sub-directory, please specific base_path in config/horizon.php

Official Documentation

Documentation for Horizon can be found on the Laravel website., (*8)

License

Laravel Horizon is open-sourced software licensed under the MIT license, (*9)

The Versions

24/07 2018