spatie/laravel-stripe-webhooks
Laravel package to handle Stripe webhooks: verifies Stripe signatures, stores valid webhook calls in the database, and dispatches configurable jobs or events per Stripe event type. You implement the business logic (payments, subscriptions, etc.).
customer.subscription.deleted or invoice.paid.payment_intent.succeeded/failed to update order statuses or trigger refund workflows.charge.dispute.created events for manual review.configKey (e.g., signing_secret_{account_id}).ShouldQueue) ensures low-latency responses to Stripe (critical for 200 success codes) while offloading heavy work (e.g., syncing with CRM).local via config).*"This package lets us safely and scalably handle Stripe webhooks—critical for our subscription business—without building and maintaining custom infrastructure. It:
*"This is a batteries-included solution for Stripe webhooks in Laravel. Key benefits:
webhook_calls table.ProcessStripeWebhookJob.
Tradeoff: Adds ~50ms overhead per request (negligible for most use cases).*
Next Steps:composer.json and publish config/migrations.charge.succeeded → update order status).How can I help you explore Laravel packages today?