laravel-lumen / horizon
Dashboard and code-driven configuration for Laravel-lumen queues.
v1.0.7
2022-03-07 09:07 UTC
Requires
- php: ^7.3|^8.0
- ext-json: *
- ext-pcntl: *
- ext-posix: *
- illuminate/contracts: ^8.17
- illuminate/notifications: ^8.17
- illuminate/queue: ^8.17
- illuminate/support: ^8.17
- nesbot/carbon: ^2.17
- ramsey/uuid: ^4.0
- symfony/error-handler: ^5.0
- symfony/process: ^5.0
Requires (Dev)
- mockery/mockery: ^1.0
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
- predis/predis: ^1.1
Suggests
- ext-redis: Required to use the Redis PHP driver.
- predis/predis: Required when not using the Redis PHP driver (^1.1).
Provides
None
Conflicts
None
Replaces
None
README
Lumen Horizon is based on the official Laravel Horizon (v5.x) package. It provides the same features as original package except the UI. Tested with Lumen 8
Installation
- Important!
Uncomment in your
bootstrap/app.php
$app->withFacades(); $app->withEloquent();
Make sure you register Illuminate\Redis\RedisServiceProvider::class in your boorstrap/app.php file.
$app->register(Illuminate\Redis\RedisServiceProvider::class);
Add in your bootstrap/app.php
$app->configure('app');
- Run composer to add the dependency.
composer require laravel-lumen/horizon
- Publish config
add the
horizon.phpto config/horizon
cp vendor/horizon-lumen/config/horizon.php config/horizon.php
- register provider in your
bootstrap/app.php
// add provider $app->register(Laravel\Horizon\HorizonServiceProvider::class); // add config $app->configure('horizon');
Official Documentation
Documentation for Horizon can be found on the Laravel website.