agilukm / lumen-horizon
Commands and code-driven configuration for Lumen queues.
3.3
2020-03-02 13:05 UTC
Requires
- php: ^7.2
- ext-json: *
- ext-pcntl: *
- ext-posix: *
- cakephp/chronos: ^1.0
- illuminate/contracts: ^6
- illuminate/queue: ^6
- illuminate/support: ^6
- predis/predis: ^1.1
- ramsey/uuid: ^3.5
- symfony/debug: ^4.2
- symfony/process: ^4.2
Requires (Dev)
- laravelista/lumen-vendor-publish: ~2.0
- mockery/mockery: ~1.0
- orchestra/database: ~3.5
- orchestra/lumen: ~3.5
- orchestra/testbench: ~3.5
- phpunit/phpunit: ~8.0
README
Based off https://github.com/servocoder/lumen-horizon - upgraded to 1.2.3 Horizon and Lumen 6.0 support
Tested with Lumen 6.0
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.
- Composer dependency manager:
composer require carsguide/lumen-horizon "~1.2"
Alternatively, add the dependency directly to your composer.json file:
"require": {
"carsguide/lumen-horizon": "~1.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"
Official Documentation
Documentation for Horizon can be found on the Laravel website.
License
Laravel Horizon is open-sourced software licensed under the MIT license