nswdpc/silverstripe-taggable-notifications
最新稳定版本:v2.0.0-rc1
Composer 安装命令:
composer require nswdpc/silverstripe-taggable-notifications
包简介
Add tagging to notifications going out of a Silverstripe project
README 文档
README
A simple module supporting notification services that provide message tagging options (eg. Mailgun).
Depending on the service used, message tags be be used for message analytics, bottlenecks, rejection tracking and other failures (or successes).
Features
- Project-level notification tags defined in configuration (optional)
- Tag limits (optional)
- A Trait for notification clients to use
- Userform extension to tag messages from a form, using
silverstripe/taxonomy
Requirements
There are no special requirements for using this module beyond the composer requirements and a configuration required for your notification service.
To set tags on a notification that uses the Taggable trait:
$message = \My\App::getNotificationMessage($name, $number); $tags = ['tag1','tag2','tag3']; $message->setNotificationTags( $tags ); $message->deliver();
See the Email section for email configuration and examples.
User forms
If your project uses userforms, each Email recipient will get a tag field allowing per-recipient message tagging.
Installation
composer require silverstripe-taggable-notifications
License
Documentation
Maintainers
- PD Web Team
Bugtracker
We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.
Please review the code of conduct prior to opening a new issue.
Security
If you have found a security issue with this module, please email digital[@]dpc.nsw.gov.au in the first instance, detailing your findings.
Development and contribution
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.
Please review the code of conduct prior to completing a pull request.
统计信息
- 总下载量: 1.39k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2024-08-14