apuc / yii2-channels-webhook
Extention, that allows you to throw a webhook after saving model
Package info
github.com/apuc/yii2-channels-webhook
Type:yii2-extension
pkg:composer/apuc/yii2-channels-webhook
dev-master / 1.0.6.x-dev
2019-10-24 10:21 UTC
Requires
- yiisoft/yii2: ~2.0.0
This package is not auto-updated.
Last update: 2026-03-20 15:50:28 UTC
README
Extention, that allows you to throw a webhook after saving model
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist apuc/yii2-channels-webhook "*"
or add
"apuc/yii2-channels-webhook": "*"
to the require section of your composer.json file.
Usage example
"websocket" => [
"class" => WebHookBehavior::className(),
"url" => "https://example.com"
"onUpdate" => false
]
You can also add module for testing
'module' => [
'test' => [
'class' => 'apuc\channels_webhook\modules\test\Test',
],
]