yinsystems / filament-failed-jobs
A simplistic failed jobs viewer for your Filament apps.
0.2.0
2022-08-09 14:45 UTC
Requires
- php: ^8.0.2
- filament/filament: ^2.0
- spatie/laravel-package-tools: ^1.9.2
This package is auto-updated.
Last update: 2025-06-13 16:54:09 UTC
README
This package provides a Failed Jobs
resource that allows you to view your Failed jobs in a simple UI.
Installation
You can install the package via Composer:
composer require yinsystems/filament-failed-jobs
You can publish the config file with:
Authorization
If you would like to prevent certain users from accessing your page, you should register an FailedJobsPolicy:
use App\Policies\FailedJobPolicy; use Amvisor\FilamentFailedJobs\Models\FailedJob; class AuthServiceProvider extends ServiceProvider { protected $policies = [ FailedJob::class => FailedJobPolicy::class, ]; }
namespace App\Policies; use App\Models\User; use Illuminate\Auth\Access\HandlesAuthorization; class FailedJobPolicy { use HandlesAuthorization; public function viewAny(User $user): bool { return $user->can('manage_failed_jobs'); } }
This will prevent the navigation item from being registered.
Changelog
Please see CHANGELOG for more information on what has changed recently.
License
The MIT License (MIT). Please see License File for more information.