devmatchable/whop-symfony-bundle
Symfony 7 bundle for the Whop PHP SDK. Autowires WhopApiClient and WebhookVerifier from config, provides a ready-to-use (overridable) webhook controller/route, and supports sandbox base URL and custom HTTP client selection.
subscription.updated events.WhopApiClient->payments->list()).array payloads to handlers—you’ll need to build your own DTO layer.WhopWebhookReceivedEvent may feel like overkill (though it’s optional).*"This Symfony bundle lets us integrate Whop’s payment/subscription platform with minimal dev effort. It handles the heavy lifting—like verifying webhook signatures and dispatching payment events—so our team can focus on building features like:
By using this bundle, we avoid reinventing the wheel for webhook security or API client setup, saving weeks of development time. The tradeoff? We’re betting on Whop’s growth (low stars now, but early adoption gives us a first-mover advantage). If we proceed, we’ll monitor the bundle’s stability and contribute to stabilize it if needed."*
*"This bundle glues Whop’s PHP SDK into Symfony with three key benefits:
WhopApiClient anywhere in your app (e.g., new PaymentService(WhopApiClient $whop)).EventDispatcher. Just subscribe to WhopWebhookReceivedEvent to react to payments/subscriptions.Tradeoffs:
array, so we’ll need to map them to our domain models (but that’s a one-time cost).Recommendation: Use this for Whop integration if we’re on Symfony 7+. For other frameworks, evaluate the raw SDK or wait for this bundle to stabilize."*
How can I help you explore Laravel packages today?