Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Filament Webhook Server

Filament Webhook Server Laravel Package

marjose123/filament-webhook-server

Add a webhook server to your Filament app: receive, validate, and manage incoming webhooks with a clean admin UI. Configure endpoints and events, inspect payloads, and monitor delivery from your Filament panel—all in a Laravel-friendly package.

View on GitHub
Deep Wiki
Context7

Send webhooks from Filament apps

Frequently asked questions about Filament Webhook Server
How do I send webhooks from a Filament resource action (e.g., after saving a record)?
Use the `webhook()` helper method inside your Filament resource’s `afterSave` or custom action. For example, `webhook()->to('https://api.example.com')->send(['data' => $record->toArray()])`. The package integrates seamlessly with Filament’s event system, so no extra setup is needed beyond defining the endpoint and payload.
Does this package support async webhooks via Laravel queues?
Yes, the package supports async webhooks out of the box. Configure the queue driver in the published config file (`config/filament-webhook-server.php`), and webhooks will automatically dispatch to your queue worker (e.g., `app:send-webhooks`). For production, monitor queue jobs using Laravel Horizon or similar tools to avoid bottlenecks.
What Laravel and Filament versions are officially supported?
The package requires **Filament v3+** and is tested with **Laravel 10/11**. For PHP, it supports **8.1+**. Always check the `composer.json` of your project and the package’s GitHub repo for the latest compatibility notes, as minor updates may introduce breaking changes.
Can I validate or transform webhook payloads before sending?
Absolutely. Use the `beforeSend` callback to modify payloads dynamically. For example, `webhook()->beforeSend(fn ($payload) => $payload['metadata'] = auth()->user()->id)->send()`. You can also leverage Laravel’s HTTP middleware to add signing, authentication, or payload validation logic.
How do I test webhook endpoints in CI/CD or local development?
Use Laravel’s `HttpTests` facade or Pest’s `actingAsWebhook` helper to simulate incoming webhooks. For outgoing webhooks, mock the `webhook()` method or use `Http::fake()` to assert payloads. The package includes built-in tools to inspect payloads via the Filament admin UI, making debugging straightforward.
What happens if a webhook fails to deliver? Are there retries or fallbacks?
Failed webhooks are retried by default (configurable in the package settings). For critical failures, implement a dead-letter queue or set up notifications via Laravel’s `FailedJob` events. The package logs all delivery attempts, and you can extend this with custom error handlers or alerts.
Is there a way to monitor webhook deliveries in real-time from the Filament panel?
Yes, the package includes a dedicated **Webhook Monitor** widget in the Filament admin UI. It displays delivery statuses, payloads, timestamps, and error logs. You can filter by endpoint, event type, or status to troubleshoot issues without leaving your Filament dashboard.
Can I use this package for receiving *incoming* webhooks (e.g., from Stripe or GitHub)?
The package is primarily designed for **sending** webhooks from Filament apps, but you can extend it to handle incoming webhooks by creating custom Filament resources or pages to process payloads. For robust incoming webhook handling, consider pairing it with packages like `spatie/webhook-client` or building a separate API endpoint.
How do I secure webhook endpoints to prevent abuse or unauthorized access?
Leverage Laravel’s built-in middleware to secure webhook endpoints. Add `throttle`, `signed`, or `auth:sanctum` middleware to routes. For outgoing webhooks, use the `webhook()->withHeaders(['Authorization' => 'Bearer ' . $token])` method to include authentication tokens. Always validate payloads and use HTTPS for all endpoints.
Are there alternatives to this package for Filament webhooks? What makes this one unique?
Alternatives include rolling your own HTTP client logic or using generic Laravel packages like `spatie/laravel-webhook-client` (for receiving) or `fruitcake/laravel-webhook-client`. However, this package is **Filament-specific**, offering a **visual admin UI** for monitoring, a **declarative syntax** for sending webhooks, and deep integration with Filament’s event system. It’s ideal if you want to avoid boilerplate while keeping everything in your Filament workflow.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky