marshmallow/laravel-facebook-webhook
Handle Facebook Webhook callbacks in Laravel with ease. This package verifies the hub challenge, validates X-Hub-Signature payloads, and routes incoming events to your own handlers, so you can focus on building Messenger bots and integrations instead of boilerplate.
Adopt when:
Look elsewhere (or plan to wrap/own it) when:
Risk note for the decision record: low adoption means elevated maintenance risk. Treat it as "adopt with guardrails" — wrap it behind your own LeadSource interface, pin the version, and budget a half-day per quarter to review upstream releases or take ownership of a fork.
For executives:
We can add Facebook Lead Ads as a lead source in days rather than a quarter. This is a small, MIT-licensed Laravel package that handles the messy parts — Facebook's webhook verification and Graph API lead retrieval — so our engineers focus on our product, not Facebook's API. It's low-cost, auditable, and we can isolate it behind our own interface so we're never locked in. The caveat: it's a young project, so we'll do a short technical spike and keep a fallback plan. Recommended: approve a one-sprint spike, then decide on shipping.
For engineering:
composer require, publish config, register a webhook route. It owns Facebook webhook verification, token handling, and lead fetching from the Graph API.FacebookLeadSource adapter so the rest of our codebase never imports it directly — swapping to the official Graph SDK or a fork later is a contained change.One-line ask: Approve a short spike to validate the integration; success criteria are a lead flowing end-to-end from a test Facebook Lead Form into our system with proper dedupe and error logging.
How can I help you explore Laravel packages today?