🔒
Signature Validation
Verify webhook authenticity for Stripe, GitHub, Slack, Shopify, and custom services.
Validate signatures, manage retries, log events, and integrate popular services in minutes.
// routes/web.php
Route::post('/stripe-webhook', function () {
$payload = json_decode(request()->getContent(), true);
// Handle the event
event(new StripeWebhookReceived($payload));
return response()->json(['status' => 'success']);
})->middleware('validate-webhook:stripe');What the middleware does automatically:
| Service | Signature Header | Status |
|---|---|---|
| Stripe | Stripe-Signature | ✅ Built-in |
| GitHub | X-Hub-Signature-256 | ✅ Built-in |
| Slack | X-Slack-Signature | ✅ Built-in |
| Shopify | X-Shopify-Hmac-Sha256 | ✅ Built-in |
| Custom | Any | ✅ Extensible |