### Install filament-webhooks via Composer Source: https://github.com/jeffersongoncalves/filament-webhooks/blob/3.x/README.md Install the package via Composer. Requires PHP ^8.2 and Laravel ^11.0 or ^12.0. ```bash composer require jeffersongoncalves/filament-webhooks:"^3.0" ``` -------------------------------- ### Publish and run core migrations Source: https://github.com/jeffersongoncalves/filament-webhooks/blob/3.x/README.md Publish and run the core package's migrations to create the `webhooks` and `webhook_logs` tables. Also publishes the core config file. ```bash php artisan vendor:publish --tag="laravel-webhooks-migrations" php artisan vendor:publish --tag="laravel-webhooks-config" php artisan migrate ``` -------------------------------- ### Publish plugin config Source: https://github.com/jeffersongoncalves/filament-webhooks/blob/3.x/README.md Optionally publish this plugin's configuration file. ```bash php artisan vendor:publish --tag="filament-webhooks-config" ``` -------------------------------- ### Run package tests Source: https://github.com/jeffersongoncalves/filament-webhooks/blob/3.x/README.md Runs the test suite for the package. ```bash composer test ``` -------------------------------- ### Configure Filament webhooks resource navigation Source: https://github.com/jeffersongoncalves/filament-webhooks/blob/3.x/README.md Configuration file for the Filament webhooks resource. Set the navigation group label, sort order, and icon. The webhook behavior itself is configured in the core package's config/webhooks.php. ```php return [ 'navigation' => [ 'group' => null, // navigation group label 'sort' => null, // navigation sort order 'icon' => 'heroicon-o-bolt', ], ]; ``` -------------------------------- ### Publish filament-webhooks translations Source: https://github.com/jeffersongoncalves/filament-webhooks/blob/3.x/README.md Publishes translation files for English (en) and Brazilian Portuguese (pt_BR) to customize them. ```bash php artisan vendor:publish --tag="filament-webhooks-translations" ``` -------------------------------- ### Register FilamentWebhooksPlugin on a panel Source: https://github.com/jeffersongoncalves/filament-webhooks/blob/3.x/README.md Register the plugin on any Filament panel. This adds a Webhooks resource with CRUD, filtering, test delivery, and delivery logs. ```php use Filament\Panel; use JeffersonGoncalves\FilamentWebhooks\FilamentWebhooksPlugin; public function panel(Panel $panel): Panel { return $panel ->plugins([ FilamentWebhooksPlugin::make(), ]); } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.