headsnet/deploy-notify-bundle
Composer 安装命令:
composer require headsnet/deploy-notify-bundle
包简介
Send notifications for Symfony application deployment
README 文档
README
Send email notifications to one or more recipients using a simple console command that can be executed by your deployment process.
The notification can be sent to one or more recipients, and can optionally include the application change log file in the email content.
Installation
Install with Composer
composer require headsnet/deployment-notification-bundle
Add bundle to AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Headsnet\DeployNotifyBundle\HeadsnetDeployNotifyBundle(),
);
}
Configuration
Add required configuration in app/config.yml
headsnet_deploy_notify:
app_name: My Application
email:
sender_email: app@domain.com
recipients:
- { name: Joe Bloggs, email: joe@email.com }
- { name: John Smith, email: john@example.com }
You can optionally include a change log file in the email template. Just specify the name of the change log file:
headsnet_deploy_notify:
changelog:
filename: CHANGES.md
Markdown files ending with a .md extension will automatically be parsed in to HTML.
Usage
Simply execute the console command from your chosen deployment system.
bin/console headsnet:deploy:notify
Configuration Reference
headsnet_deploy_notify:
app_name: ~ # Required
email:
sender_email: ~ # Required
sender_name: '' # Optional
subject: 'Deployment Notification'
changelog:
filename: ~ # If specified, changelog contents will be included in email
path: / # Default is project root dir
public_url: ~ # Optionally add link to changelog in email
recipients:
- { name: ~, email: ~ }
- { name: ~, email: ~ }
Contributing
Contributions are welcome. Please submit via pull requests.
headsnet/deploy-notify-bundle 适用场景与选型建议
headsnet/deploy-notify-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.23k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2017 年 09 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 headsnet/deploy-notify-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 headsnet/deploy-notify-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 1.23k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-09-15