Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Facebook Webhook Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Integration roadmap: Facebook Lead Ads as a first-class lead source. If your product is a CRM, marketing automation tool, lead-routing engine, or agency platform, this package collapses weeks of "OAuth dance + webhook verification + Graph API lead fetch + token refresh" into a Composer dependency. That directly informs whether "native Facebook Lead Ads sync" ships this quarter or next.
  • Build vs. buy for integrations. At MIT license and a small surface area, this is a credible "buy" (adopt) answer to the classic integrations build-vs-buy question — cheaper than a bespoke connector, more transparent than a closed iPaaS. It sets the baseline your team would otherwise have to exceed to justify building in-house.
  • Real-time vs. batch lead ingestion. Webhooks mean near-real-time lead delivery. That enables product decisions around SLA messaging ("leads appear in seconds"), instant lead-routing/round-robin, and speed-to-lead analytics — features that are hard to promise on polling-based connectors.
  • Multi-tenant / agency use cases. Facebook Pages and Lead Forms are per-customer assets. The package's per-tenant token and page-subscription handling supports decisions on whether to offer white-label lead capture to agencies, and how onboarding flows (customer connects their FB Page) should look.
  • Scope discipline for v1. Because the package covers exactly webhooks + Graph API lead retrieval (and not, say, campaign management or ad metrics), it nudges the roadmap toward a narrow, shippable "capture leads" milestone rather than an open-ended "Facebook integration" epic.
  • Buyer-facing positioning. "Captures leads from Facebook Lead Ads instantly" is a sales-usable capability; this package makes that claim cheap to back with working software for demos and pilots.

When to Consider This Package

Adopt when:

  • You're on Laravel/PHP (or comfortable bridging it into a PHP service) — this is the hard prerequisite.
  • Facebook Lead Ads is a requested or expected lead source (common in real estate, education, home services, health/wellness, agency work).
  • You need to ship quickly and don't have a dedicated integrations engineer to own Facebook's Graph API quirks (token expiry, webhook verification, page-level subscriptions, lead field schemas).
  • You want an open, auditable, MIT-licensed dependency rather than routing customer lead data through a third-party iPaaS.
  • You're running a spike or MVP and want to validate the integration end-to-end before committing engineering time.

Look elsewhere (or plan to wrap/own it) when:

  • You're not on Laravel or PHP — use the official Facebook Graph SDK or a platform-native connector instead.
  • You need multi-platform parity (Google Ads lead forms, TikTok, LinkedIn, web forms) — this covers one source; you'll want an abstraction layer or a broader connector.
  • You need enterprise-grade support, SLAs, or a large community — 13 stars and zero dependents is a real signal: minimal battle-testing, small contributor base, and limited Stack Overflow coverage.
  • Compliance and data-residency requirements are strict — Facebook lead data handling (consent, PII, retention) is on you regardless of package; a managed iPaaS may have pre-built governance your legal team prefers.
  • You need deep customization of Graph API behavior (custom field mapping, advanced rate-limit handling, bulk backfill) — you'll be forking or extending, which negates some of the "buy" savings.

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.

How to Pitch It (Stakeholders)

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:

  • Standard Laravel package: composer require, publish config, register a webhook route. It owns Facebook webhook verification, token handling, and lead fetching from the Graph API.
  • We'll wrap it in an internal 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.
  • Needs an owner for: app review/permissions with Meta, page subscription management per tenant, token refresh monitoring, and lead field schema mapping.
  • Known unknowns to validate in the spike: rate limits, duplicate/out-of-order webhook delivery, and error surfacing when Meta tokens expire.

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mydnic/volet-feature-board-filament-plugin
wmde/email-address
refinery29/test-util
dees040/laravel-api-responses
teamzac/geocoder
ideatica/config-writer
keaton-php/pipe-dream
jacksonwebservices/laravel-user-suite
maksimru/conditional-laravel-debugbar
gismatul/nova-support-chat
gismatul/laravel-support-chat
networkrailbusinesssystems/oracle-api
alphabalex/messaging-made-easy
rawphp/warp
shootkiran/merobug
narakode/fineauth
numencode/wn-syncops-plugin
ibnnajjaar/mib-global-pay
refinery29/php-cs-fixer-config
parsnick/steak