定制 dissnik/moonshine-queue-dashboard 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dissnik/moonshine-queue-dashboard

最新稳定版本:2.0.0

Composer 安装命令:

composer require dissnik/moonshine-queue-dashboard

包简介

Queue monitoring dashboard for MoonShine

README 文档

README

This package provides a convenient dashboard for monitoring and managing failed jobs in your Laravel application directly from the Moonshine admin panel.

Queue Dashboard

Compatibility

MoonShine Moonshine Queue Dashboard
>= v3.0 >= v1.0.0
>= v4.0 >= v2.0.0

Features

  • 📊 Queue Overview: View key metrics for all queues.
  • 🔄 Task Management: View, resubmit, and delete failed tasks.
  • 🎯 Driver Support: Works with Redis, Database, Sync, and other Laravel queue drivers.

Requirements

  • PHP 8.1 or higher
  • Laravel 10.x or higher
  • Moonshine 3.x or higher

Installation

Install the package via Composer:

composer require dissnik/moonshine-queue-dashboard

Usage

The dashboard will automatically appear in your MoonShine admin panel if auto_menu is enabled in config.

You can also manually add the dashboard to your resource:

use DissNik\MoonShineQueueDashboard\Pages\QueueDashboardPage;

public function menu(): array
{
    return [
        // ... other menu items
        QueueDashboardPage::make(),
    ];
}

Publish

Configuration file

php artisan vendor:publish --tag=moonshine-queue-dashboard-config
return [
    'auto_menu' => true,         // Automatically add to MoonShine menu
    'queues' => ['default'],     // Queues to monitor
    'auto_refresh' => false,     // Enable automatic data refresh
    'refresh_interval' => 10000, // Refresh interval in milliseconds
];

Language files

php artisan vendor:publish --tag=moonshine-queue-dashboard-lang

Assets files

php artisan vendor:publish --tag=moonshine-queue-dashboard-assets

All files

php artisan vendor:publish --tag=moonshine-queue-dashboard

Components

Package components can be used on other sites or resources.

Failed Jobs

use DissNik\MoonShineQueueDashboard\Components\FailedJobs;

FailedJobs::make();
Failed Jobs

Queue Metrics

use DissNik\MoonShineQueueDashboard\Components\QueueMetrics;

QueueMetrics::make();
Queue Metrics

Tip

To refresh metrics use Fragment with name 'queue_metrics'

use DissNik\MoonShineQueueDashboard\Components\QueueMetrics;
use MoonShine\Laravel\Components\Fragment;

Fragment::make([
    QueueMetrics::make(),
])
    ->name('queue_metrics')

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-02