mangati / gove-notifier
Mangati Gove Notifier 桥接器
v1.0.0
2024-03-07 20:01 UTC
Requires
- php: >=8.1
- symfony/event-dispatcher-contracts: ^2|^3
- symfony/http-client: ^5.3|^6.0|^7.0
- symfony/notifier: ^5.3|^6.0|^7.0
Requires (Dev)
- symfony/phpunit-bridge: 6.1.x-dev
This package is auto-updated.
Last update: 2024-09-07 21:13:10 UTC
README
提供对 Symfony Notifier 的 Gove 集成。
DSN 示例
GOVE_DSN=gove://TOKEN:PASSWORD@default
where
EMAIL
是您的 Gove 用户名(必须进行编码,将@
替换为%40
)PASSWORD
是您的 Gove 密码
用法
$options = new GoveOptions('phone-number', 'template_name', [ "my", "template", "variables", ]); $message = new ChatMessage('Test', $options); $notifier->send($message);