bereznii/php-teams-connector
Composer 安装命令:
composer require bereznii/php-teams-connector
包简介
This package is used to easily interact with Microsoft Teams Connector API via Incoming Webhook, allowing to create notification channel
README 文档
README
The PHP package to easily interact with Microsoft Teams Connector API via Incoming Webhook. The goal is to provide user with ability to easily create his own message card and send them to desired channel.
Install
Via Composer
$ composer require bereznii/php-teams-connector
Usage
$card = new \Bereznii\TeamsConnector\Services\MessageCard(); $card->setAppName('Your App') ->setMessage('Hello World') ->setContext(__METHOD__) ->setStatus('DEBUG'); $request = new Bereznii\TeamsConnector\Services\Request($card, '<WEBHOOK_URL>'); $result = $request->send();
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email bereznii.d@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-08-04