定制 binarybuilds/filament-failed-jobs 二次开发

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

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

binarybuilds/filament-failed-jobs

最新稳定版本:v2.0.1

Composer 安装命令:

composer require binarybuilds/filament-failed-jobs

包简介

A filament package to easily retry and prune failed jobs

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This plugin provides a failed jobs resource which can be used to retry and manage laravel failed queue jobs.

failed jobs index table

Installation

You can install the plugin via composer:

composer require binarybuilds/filament-failed-jobs

Usage

Register the plugin in your panel service provider as

use BinaryBuilds\FilamentFailedJobs\FilamentFailedJobsPlugin;

$panel->plugin(FilamentFailedJobsPlugin::make());

Important

If you are using laravel horizon, Instruct the plugin by chaining the ->usingHorizon() method.

Retrying Failed Jobs

You can retry failed jobs each one separately using the retry action next to each job, or bulk retry by selecting multiple jobs and then using the bulk options' menu. You can also use the global retry action to retry all failed jobs or jobs from a specific queue.

retry failed jobs

Filtering Jobs

This plugin by default comes with the following filters which you can use to filter failed jobs.

  • Connection
  • Queue
  • Job
  • Failed At

filter failed jobs

Pruning Jobs

If you have too many stale failed jobs, You can use the global prune jobs action to prune stale failed jobs. This action will prompt you to input the hours to retain the failed jobs. Any failed jobs that are older than the given hours will be pruned.

For example, If you enter 12 hours, It will prune all failed jobs that are older than 12 hours.

retry failed jobs

Customization

This plugin works out of the box and adds a Failed Jobs resource to your admin panel. You can customize the display if needed.

Remove connection column from index table

Most of the applications do not leverage more than one queue connection. So it would be clean to hide the connection column in this case. You can do so by chaining the hideConnectionOnIndex method as below.

FilamentFailedJobsPlugin::make()->hideConnectionOnIndex()

Remove queue column from index table

Similarly, if your application only pushes to the default queue, You can hide the queue column by chaining the hideQueueOnIndex method as below.

FilamentFailedJobsPlugin::make()->hideQueueOnIndex()

Change filters layout

This plugin comes with a few filters to help you easily filter failed jobs. If you would like to change how the filters are displayed, You can do so by chaining filtersLayout method which accepts Filament\Tables\Enums\FiltersLayout parameter.

FilamentFailedJobsPlugin::make()->filtersLayout(FiltersLayout::AboveContent)

Authorization

You can restrict access to the failed jobs resource using the authorize method. This accepts a boolean or a closure that returns a boolean.

FilamentFailedJobsPlugin::make()->authorize(fn () => auth()->user()->can('view-failed-jobs'))

Navigation Group

You can change the navigation group using the navigationGroup method. This accepts a string, UnitEnum or Closure.

FilamentFailedJobsPlugin::make()->navigationGroup('System')

Navigation Label

You can customize the navigation label using the navigationLabel method.

FilamentFailedJobsPlugin::make()->navigationLabel('Queue Failures')

Navigation Icon

You can change the navigation icon using the navigationIcon method. This accepts a Heroicon string or a Heroicon enum value.

FilamentFailedJobsPlugin::make()->navigationIcon('heroicon-o-exclamation-triangle')

Navigation Sort Order

You can change the navigation sort order using the navigationSort method.

FilamentFailedJobsPlugin::make()->navigationSort(10)

Combined Example

You can chain multiple configuration methods together.

FilamentFailedJobsPlugin::make()
    ->authorize(fn () => auth()->user()->isAdmin())
    ->navigationGroup('System')
    ->navigationLabel('Failed Jobs')
    ->navigationIcon('heroicon-o-queue-list')
    ->navigationSort(50)

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

binarybuilds/filament-failed-jobs 适用场景与选型建议

binarybuilds/filament-failed-jobs 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.01k 次下载、GitHub Stars 达 4, 最近一次更新时间为 2026 年 01 月 04 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「laravel」 「filament」 「queued jobs」 「failed jobs」 「binarybuilds」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 binarybuilds/filament-failed-jobs 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 binarybuilds/filament-failed-jobs 我们能提供哪些服务?
定制开发 / 二次开发

基于 binarybuilds/filament-failed-jobs 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 2.01k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 22
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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