mangati/gove-notifier

Mangati Gove Notifier 桥接器

安装: 19

依赖: 0

建议者: 0

安全性: 0

星标: 0

关注者: 2

分支: 0

公开问题: 0

类型:symfony-notifier-bridge

v1.0.0 2024-03-07 20:01 UTC

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);