修改包安装命令

This commit is contained in:
ykxiao 2024-01-31 09:34:00 +08:00
parent 62cfeb1772
commit 868b98e0b5
1 changed files with 10 additions and 10 deletions

View File

@ -14,7 +14,7 @@
## 安装
```bash
composer require vinchan/message-notify -vvv
composer require ykxiao/easy-message -vvv
```
## 配置文件
@ -22,7 +22,7 @@ composer require vinchan/message-notify -vvv
发布配置文件`config/message.php`
```bash
hyperf vendor:publish vinchan/message-notify
hyperf vendor:publish ykxiao/easy-message
```
@ -37,17 +37,17 @@ Notify::make()->setChannel(DingTalkChannel::class)
## 通道
| 通道名称 | 命名空间 | 支持格式 |
|-------|----------------------------------------|---------------|
| 钉钉群 | \MessageNotify\Channel\DingTalkChannel | Text、Markdown |
| 飞书群 | \MessageNotify\Channel\FeiShuChannel | Text、Markdown |
| 企业微信群 | \MessageNotify\Channel\WechatChannel | Text、Markdown |
|-------|--------------------------------------|---------------|
| 钉钉群 | \EasyMessage\Channel\DingTalkChannel | Text、Markdown |
| 飞书群 | \EasyMessage\Channel\FeiShuChannel | Text、Markdown |
| 企业微信群 | \EasyMessage\Channel\WechatChannel | Text、Markdown |
## 格式
| 格式名称 | 命名空间 |
|----------|----------------------------------|
| Text | \MessageNotify\Template\Text |
| Markdown | \MessageNotify\Template\Markdown |
| Text | \EasyMessage\Template\Text |
| Markdown | \EasyMessage\Template\Markdown |
## 协议