Dashboard and code-driven configuration for Laravel queues.
donparapidos/horizon is a Laravel package for dashboard and code-driven configuration for laravel queues..
It currently has 0 GitHub stars and 4 downloads on Packagist (latest version v1.3.1).
Install it with composer require donparapidos/horizon.
Discover more Laravel packages by donparapidos
or browse all Laravel packages to compare alternatives.
Last updated
Horizon provides a beautiful dashboard and code-driven configuration for your Laravel powered Redis queues. Horizon allows you to easily monitor key metrics of your queue system such as job throughput, runtime, and job failures.
All of your worker configuration is stored in a single, simple configuration file, allowing your configuration to stay in source control where your entire team can collaborate.
composer require donparapidos/horizon
config/app.php'providers' => [
// ..
Donparapidos\Horizon\HorizonServiceProvider::class,
],
'aliases' => [
// ..
"Horizon" => Donparapidos\Horizon\Horizon::class,
]
artisan command
php artisan vendor:publish
app\Providers\AppServiceProvider.php in order to secure /horizon end point.<?php
namespace App\Providers;
// ..
use Donparapidos\Horizon\Horizon;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
// ..
// Add Horizon authentication [IGNORE IN DEV]
Horizon::auth(function ($request) {
// allow admins only to see this page
// return \Auth::user()->is_admin;
// or return any true / false
});
}
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
}
/horizon and have fun with your X-Ray Vision. ;)Documentation for Horizon can be found on the Laravel website.
Laravel Horizon is open-sourced software licensed under the MIT license