Search by

eloquage / filament-horizon

zagambila

Filament dashboard pages and widgets for monitoring Laravel Horizon queues.

Package info

github.com/eloquage/filament-horizon

pkg:composer/eloquage/filament-horizon

Fund package maintenance!

eloquage

Statistics

Installs: 1 372

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 4

v1.0.1 2026-10-23 13:19 UTC

This package is auto-updated.

Last update: 2026-10-23 14:01:01 UTC


README

Filament Horizon

Latest version Tests License

Filament Horizon adds Laravel Horizon queue monitoring pages and widgets to a Filament admin panel. It includes a dashboard, job and batch views, failed-job tools, tag monitoring, metrics, and worker status.

Requirements

  • PHP 8.2 or later
  • Laravel 12 or 13
  • Filament 4 or 5
  • Laravel Horizon 5

Install

Install the package:

composer require eloquage/filament-horizon

Register the plugin in your Filament panel provider:

use Eloquage\FilamentHorizon\FilamentHorizonPlugin;
use Filament\Panel;

public function panel(Panel $panel): Panel
{
    return $panel->plugins([
        FilamentHorizonPlugin::make(),
    ]);
}

The Horizon pages then appear in the panel navigation. Laravel Horizon must be installed and configured in the application.

Access control

In production, access uses Laravel Horizon's viewHorizon gate. Define that gate to control which users can view the pages:

use Illuminate\Support\Facades\Gate;

Gate::define('viewHorizon', fn ($user) => $user->is_admin);

For a trusted development panel, authorization can be disabled on the plugin:

FilamentHorizonPlugin::make()->authorization(false)

Widgets

The package also provides widgets that can be added to a Filament dashboard:

use Eloquage\FilamentHorizon\Widgets\StatsOverview;
use Eloquage\FilamentHorizon\Widgets\WorkloadWidget;
use Eloquage\FilamentHorizon\Widgets\WorkersWidget;

public function getWidgets(): array
{
    return [StatsOverview::class, WorkloadWidget::class, WorkersWidget::class];
}

Development

composer install
composer test

See CHANGELOG.md for changes and LICENSE.md for the license.