Hi everyone,
I’m developing a Yii2 application that uses yiisoft/yii2-mongodb exclusively (no MySQL/PostgreSQL).
I’m looking for a webhook package similar to degordian/yii2-webhooks that supports MongoDB or is database-agnostic.
My requirements are:
- Yii2
- MongoDB (
yii2-mongodb)
- Webhook subscriptions
- Retry support
- Delivery logs
Does anyone know of an existing package, or has anyone adapted a SQL-based webhook package to work with MongoDB?
Any recommendations or experiences would be appreciated.
I haven’t found a Yii2 webhook package that is specifically designed for yii2-mongodb .
Most existing Yii2 webhook extensions, including degordian/yii2-webhooks , are built around SQL/ActiveRecord storage, so they generally won’t work with MongoDB without modification.If you’re already using MongoDB exclusively, I’d recommend keeping the webhook logic database-agnostic and implementing the subscription/delivery models using yii\mongodb\ActiveRecord . Retry attempts and delivery logs can also be stored in MongoDB.