vstruhar/filament-failed-jobs
最新稳定版本:v2.0.0
Composer 安装命令:
composer require vstruhar/filament-failed-jobs
包简介
The Laravel Filament plugin for managing failed jobs offers a streamlined interface to monitor, retry, and delete failed jobs directly from the admin panel.
README 文档
README
The Laravel Filament plugin for managing failed jobs offers a streamlined interface to monitor, retry, and delete failed jobs directly from the admin panel.
This version is compatible with Filament v4. For Filament v3 compatibility, use version 1.x.
Features
- Retry or delete all failed jobs
- Retry or delete single failed job
- Retry or delete selected failed jobs
- Retry or delete filtered failed jobs
- Can view details of the failed job with exception stack trace and models with ids
Requirements
- PHP 8.2+
- Laravel 10.0+
- Filament 4.0+
Installation
You can install the package via composer:
composer require vstruhar/filament-failed-jobs
You can publish the config file with:
php artisan vendor:publish --tag="filament-failed-jobs-config" This is the contents of the published config file:
return [ 'resources' => [ 'enabled' => true, 'label' => 'Failed job', 'plural_label' => 'Failed jobs', 'navigation_group' => 'Settings', 'navigation_icon' => 'heroicon-o-exclamation-triangle', 'navigation_sort' => null, 'navigation_count_badge' => false, ], ];
Usage
Add FilamentFailedJobsPlugin to plugins array in AdminPanelProvider.php.
// AdminPanelProvider.php ->plugins([ // ... FilamentFailedJobsPlugin::make(), ])
Optionally you can chain enableNavigation method and add logic when to enable navigation button in the main sidebar.
// AdminPanelProvider.php ->plugins([ // ... FilamentFailedJobsPlugin::make(), ->enableNavigation(fn() => auth()->user()->role === 'admin'), ])
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
- Vladimir Struhar
- Inspired by filament-jobs-monitor
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 3.93k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04