Skip to content

psolom/lumen-horizon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Lumen Horizon is based on the official Laravel Horizon package.

It provides the same features as original package except the dashboard UI because of the Lumen nature. However all stats are available with Horizon API routes. You are free to fetch and leverage the data on your own.

Alternatively, you can install another Laravel application with Horizon on the board to watch jobs and metrics of your Lumen applications. Yep, the Laravel Horizon dashboard will show supervisor's processes that you run with Lumen. Enjoy!

Tested with Lumen 5.5

Installation

The installation is almost the same as original package.

Note that the package namespace remains Laravel\Horizon, so don't install it along with original one to avoid conflicts.

  1. Composer dependency manager:
    composer require servocoder/lumen-horizon "~1.0"

Alternatively, add the dependency directly to your composer.json file:

    "require": {
        "servocoder/lumen-horizon": "~1.0"
    }
  1. Publish horizon.php file to the config folder:
    php artisan vendor:publish --tag=horizon-config

or, as suggested in the official package docs:

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

Official Documentation

Documentation for Horizon can be found on the Laravel website.

License

Laravel Horizon is open-sourced software licensed under the MIT license

About

Horizon for Lumen applications

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages