cjrasmussen/trello-upcoming-notification
Composer 安装命令:
composer require cjrasmussen/trello-upcoming-notification
包简介
Class for building and sending Slack notifications based on Trello cards with upcoming due dates
README 文档
README
Simple class for checking one or more Trello lists for due or overdue cards, then sending a message about them via a Slack webhook. Not affiliated with Trello or Slack.
Usage
use cjrasmussen\SlackApi\SlackApi; use cjrasmussen\TrelloApi\TrelloApi; use cjrasmussen\TrelloUpcomingNotification\TrelloUpcomingNotification; $trello_lists = [ '123456789012345678901234', // In Progress '098765432109876543210987', // Not Started ]; $trello_ignore_label = 'asdfghjklpoiuytrewqzxcvb'; $trello = new TrelloApi($key, $token); $slack = new SlackApi($slack_webhook_url); $trelloNotification = new TrelloUpcomingNotification($trello, $slack); $trelloNotification->buildNotification($trello_lists, $trello_ignore_label)->sendNotification();
Installation
Simply add a dependency on cjrasmussen/trello-upcoming-notification to your composer.json file if you use Composer to manage the dependencies of your project:
composer require cjrasmussen/trello-upcoming-notification
TrelloUpcomingNotification has dependencies on cjrasmussen\SlackApi and cjrasmussen\TrelloApi so these will be installed as well.
Although it's recommended to use Composer, you can actually include the file(s) any way you want.
License
TrelloUpcomingNotification is MIT licensed.
统计信息
- 总下载量: 42
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-10-10