Package Data | |
---|---|
Maintainer Username: | servocoder |
Maintainer Contact: | taylor@laravel.com (Taylor Otwell) |
Package Create Date: | 2017-12-28 |
Package Last Update: | 2018-11-07 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-08 03:09:56 |
Package Statistics | |
---|---|
Total Downloads: | 75,297 |
Monthly Downloads: | 16 |
Daily Downloads: | 0 |
Total Stars: | 24 |
Total Watchers: | 4 |
Total Forks: | 9 |
Total Open Issues: | 3 |
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
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.
composer require servocoder/lumen-horizon "~1.0"
Alternatively, add the dependency directly to your composer.json file:
"require": {
"servocoder/lumen-horizon": "~1.0"
}
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"
Documentation for Horizon can be found on the Laravel website.
Laravel Horizon is open-sourced software licensed under the MIT license