Weave 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 Client Laravel Package

tapp/filament-webhook-client

Filament resource and policy for Spatie Webhook Client. Adds a WebhookCall resource to your Filament panel with configurable models, policies, navigation, and translations. Requires Spatie Webhook Client installed and configured.

View on GitHub
Deep Wiki
Context7

Filament Webhook Client Plugin

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

Filament resource and policy for Spatie Webhook Client.

Version Compatibility

Filament Filament Webhook Client Documentation
4.x/5.x 4.x Current
3.x 1.x Check the docs

Installation

[!IMPORTANT] First, make sure you have Spatie Webhook Client installed and configured.

You can install the package via Composer:

composer require tapp/filament-webhook-client:"^4.0"

You can publish the config file with:

php artisan vendor:publish --tag="filament-webhook-client-config"

This is the contents of the published config file:

return [

    'resources' => [
        'WebhookCallResource' => \Tapp\FilamentWebhookClient\Resources\WebhookCallResource::class,
    ],

    'models' => [
        'webhook-call' => \Spatie\WebhookClient\Models\WebhookCall::class,
    ],

    'policies' => [
        'webhook-call' => \Tapp\FilamentWebhookClient\Policies\WebhookCallPolicy::class,
    ],

    'navigation' => [
        'sort' => 1,
        'icon' => 'heroicon-o-rectangle-stack',
    ],

];

Optionally, you can publish the translations file using:

php artisan vendor:publish --tag="filament-webhook-client-translations"

Usage

Add this plugin to a panel on plugins() method. E.g. in app/Providers/Filament/AdminPanelProvider.php:

use Tapp\FilamentWebhookClient\FilamentWebhookClientPlugin;
 
public function panel(Panel $panel): Panel
{
    return $panel
        // ...
        ->plugins([
            FilamentWebhookClientPlugin::make(),
            //...
        ]);
}

Appareance

Webhook calls resource content example:

Filament Webhook Calls resource list

Webhook calls view content example:

Filament Webhook Calls view record

Webhook Call Policy

By default, the policy included in this plugin allows you to view the list of webhook calls and an individual webhook call. If you need to change the permissions, you can override the policy by creating a policy in you project and adding it on policies -> webhook-call entry on filament-webhook-client.php config file.

Testing

composer test

Changelog

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

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

If you discover any security-related issues, please email [email protected].

Credits

License

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

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.
andydefer/laravel-notification
adachsoft/cli-process-tester
jhaskell13/laraflow
sebastienheyd/boilerplate-media-manager
ccast/tagixo-primix
pretendtrue/laravel-builder
sawmainek/laravel-scout-tntsearch-driver
tomshaw/laravel-calendar-table
dibakar/laravel-ownership
steadrun/laravel-monitor
labyrinthe/connect-laravel
elmogy/layan
drewdan/sentinel-client
dskripchenko/laravel-llm
fatryst/nuonuo
stevenay/myanfont
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc