Based off https://github.com/servocoder/lumen-horizon - upgraded to Lumen Horizon 5 with Lumen 8.0 support.
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 dependency manager:
composer require archistarai/lumen-horizon "^5.0"
Alternatively, add the dependency directly to your composer.json file:
"require": {
"archistarai/lumen-horizon": "^5.0"
}
- 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"
Documentation for Horizon can be found on the Laravel website.
Laravel Horizon is open-sourced software licensed under the MIT license