wow-apps/symfony-slack-bot
最新稳定版本:4.0.5
Composer 安装命令:
composer require wow-apps/symfony-slack-bot
包简介
Simple Symfony 3 and 4 Bundle for sending customizeable messages to Slack via incoming webhooks
README 文档
README
🚨 Use official package 🚨
This package is no longer maintained because of an existing alternative from SensioLab https://packagist.org/packages/symfony/slack-notifier
Version 5 is coming this November. It will require PHP 7.1 and support Symfony 4 and 5 (Symfony 3 users can stay on version 4 of bundle)
Symfony Slack Bot
Simple Symfony 3 and 4 Bundle for sending customizable messages to Slack via incoming webhooks.
Requires:
- PHP 7.0+
- Symfony 3.0+
- Guzzle Client 6.0+
Installation:
Step 1: Download the Bundle
"require": { "wow-apps/symfony-slack-bot": "^4.0" }
or
$ composer require wow-apps/symfony-slack-bot
Step 2: Enable the Bundle (skip for Symfony 4)
// ./app/AppKernel.php public function registerBundles() { $bundles = array( // ... new WowApps\SlackBundle\WowAppsSlackBundle(), ); // ... return $bundles }
Step 3: Add configuration (skip for Symfony 4)
# SlackBot Configuration services: # SlackBot Configuration wow_apps_slack: api_url: "%env(WOW_APPS_SLACK_BOT_API_URL)%" default_icon_url: "https://wow-apps.github.io/symfony-slack-bot/public/message-icon.png" default_channel: "general" default_username: "wow-apps/symfony-slack-bot" default_fallback: "Can't display attachment in plain-text mode" colors: default: "#607D8B" info: "#2196F3" warning: "#FF5722" success: "#8BC34A" danger: "#F44336" templates: exception: username: "Exception" channel: "general" icon: "https://wow-apps.github.io/symfony-slack-bot/public/exception-icon.png"
see more about override default parameters
Send test message:
To test your configuration, send test message by next command:
./bin/console wowapps:slackbot:test
Documentation
News and updates
Follow news and updates in my Telegram channel @wow_apps_pro or Twitter @alexey_samara_
Say thanks
I don't ask for donates, I do what I do for free, for all development community. But I will be grateful if you inform me on the email in which project you are using this Bundle, as well as I will be glad to criticize and suggestions.
License
MIT © 2016 - 2019 Alexey Samara & contributors
Contribute
Do you want to make a change? Pull requests are welcome.
wow-apps/symfony-slack-bot 适用场景与选型建议
wow-apps/symfony-slack-bot 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 70.44k 次下载、GitHub Stars 达 21, 最近一次更新时间为 2016 年 04 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「symfony」 「slack」 「Symfony 3」 「slack bot」 「slackbot」 「Symfony 4」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 wow-apps/symfony-slack-bot 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 wow-apps/symfony-slack-bot 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 wow-apps/symfony-slack-bot 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Dialogflow php sdk
The bundle for easy using json-rpc api on your project
Laravel 5.6 Monolog custom telegram channel
A Highly Opinionated Symfony3/4 Deployer Recipe
This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects
Bundle Symfony DaplosBundle
统计信息
- 总下载量: 70.44k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 21
- 点击次数: 23
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-06