tapp/filament-webhook-client
composer require spatie/laravel-webhook-client) and configure it (endpoints, signing, events).php artisan vendor:publish --provider="Spatie\WebhookClient\WebhookClientServiceProvider"
tapp/filament-webhook-client via Composer, publish its config, and register the Filament resource in app/Providers/Filament/AdminPanelProvider.php:
public function panel(Panel $panel): Panel
{
return $panel
->resources([
\Tapp\FilamentWebhookClient\Resources\WebhookResource::class,
]);
}
Webhook::class → WebhookPolicy) via Gate::define() or Filament’s built-in permissions.modifyTableColumns, modifyFormSchema).namespace App\Filament\Resources;
use Tapp\FilamentWebhookClient\Resources\WebhookResource as BaseResource;
class WebhookResource extends BaseResource {
public static function getPages(): array {
return [
'index' => Pages\ListWebhooks::class,
'create' => Pages\CreateWebhook::class,
// Custom pages...
];
}
}
webhook_client_webhooks table).storage/logs/laravel.log).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Webhook signing secret leaked | API spoofing | Rotate secrets via Filament UI; use env vars. |
| Filament resource crashes | UI unavailable | Implement feature flags or fallback UI. |
| Spatie client misconfiguration | Webhooks ignored/fail silently | Validate endpoints in Filament’s "Test" action. |
| Database connection issues | Webhook records lost | Enable Spatie’s retry logic; monitor queues. |
| High webhook volume | Filament UI timeout | Rate-limit endpoints; use async processing. |
payment.succeeded event fire?").How can I help you explore Laravel packages today?