Registry / web-framework / spatie-laravel-webhook-client

spatie-laravel-webhook-client

JSON →
library3.6.3phppackagistunverified

Receive webhooks in Laravel apps with signature verification and job dispatching.

composer require spatie/laravel-webhook-client
INSTALL
IMPORT
SIG · SPATIE-LARAVEL-WEB
S
spatie-laravel-webhook-client
web-frameworkphpv3.6.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WebhookProcessor
use Spatie\WebhookClient\WebhookProcessor;

Process an incoming webhook request

use Spatie\WebhookClient\WebhookProcessor; use Spatie\WebhookClient\WebhookConfig; $config = new WebhookConfig([ 'name' => 'default', 'signing_secret' => 'secret', 'signature_header_name' => 'Signature', 'signature_validator' => \Spatie\WebhookClient\Signatures\DefaultSignatureValidator::class, 'webhook_profile' => \Spatie\WebhookClient\WebhookProfile\ProcessEverythingWebhookProfile::class, 'webhook_model' => \Spatie\WebhookClient\Models\WebhookCall::class, 'process_webhook_job' => \App\Jobs\ProcessWebhookJob::class, ]); $processor = new WebhookProcessor($config, request()); $processor->process();
Debug
Known issues
breakingRequires Laravel framework and queue driver for job processing.
fix
Ensure Laravel is installed and queue is configured.
affects: >=3.0.0
Upgrade
Version history
3.6.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
spatie-laravel-webhook-client — pip install spatie-laravel-webhook-client · libregistry