hpbuniat/notifyy
Composer 安装命令:
composer require hpbuniat/notifyy
包简介
notifyy
README 文档
README
notifyy is a re-usable component to do easy notifying, e.g. for status reports or updates. This is especially useful in cli applications where it's not longer necessary to continuously monitor the jobs output or to tail a log-file.
Builtin Notifiers
- Stdout (simply prints the output)
- File
- Dbus
- Growl (works well with snarl on windows)
- Libnotify (uses notify-send)
Configuration
"growl": {
"host": "127.0.0.1",
"port": "9887",
"password": "",
"enabled": false
},
"file": {
"enabled": false,
"path": "/tmp"
},
"stdout": {
"enabled": true
},
"libnotify": {
"enabled": true
}
Extending
You may add own adapters by simply implementing the Notifyable-Interface.
统计信息
- 总下载量: 165
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2013-02-11