texxasrulez/watchtower
Composer 安装命令:
composer require texxasrulez/watchtower
包简介
Watchtower - session and login monitoring plugin for Roundcube
README 文档
README
Watchtower adds a Settings → Watchtower panel intended for session monitoring and login activity visualization.
This baseline:
- Wires a new Settings action: Watchtower
- Reads the Roundcube
sessiontable and shows recent sessions (user, IP, host, last activity) - Uses two separate images for the Settings icon (normal + active) in Larry
- Keeps layout simple so it works with Larry variants and Elastic
Installation
-
Extract the
watchtowerdirectory into your Roundcubeplugins/folder:plugins/watchtower/ -
Copy the config template and adjust if needed:
cd plugins/watchtower cp config.inc.php.dist config.inc.php -
Enable the plugin in your Roundcube
config/config.inc.php:$config['plugins'][] = 'watchtower';
Skins & Icons
-
Larry (and my 10 Colorized Larry Variants):
- Two separate images for the Settings icon: normal and active.
- Icons live in
skins/larry/images/as SVGs you can replace.
-
Elastic:
- Neutral layout and CSS, no sprite assumptions.
-
Classic (I am nostalgic):
- Neutral layout and CSS, no sprite assumptions.
Extending Watchtower
Next steps I want to add to this plugin:
- Define "active" vs "stale" session rules.
- Create your own
watchtower_sessionstable and log full login events including user-agent and geoinfo. - Add filters and a "suspicious activity" tab.
Enjoy!
💰 Donations 💰
If you use this plugin and would like to show your appreciation by buying me a cup of coffee, I surely would appreciate it. A regular cup of Joe is sufficient, but a Starbucks Coffee would be better ...
Zelle (Zelle is integrated within many major banks Mobile Apps by default) - Just send to texxasrulez at yahoo dot com
No Zelle in your banks mobile app, no problem, just click Paypal and I can make a Starbucks run ...
I appreciate the interest in this plugin and hope all the best ...
Screenshot
Versioning
watchtowernow keeps its canonical version inwatchtower::PLUGIN_VERSIONinsidewatchtower.php.watchtower::info()exposes the plugin metadata array used for self-identification.- Development builds should use a
+devsuffix such as1.0.0+dev. - Release builds should use a clean tagged version such as
1.0.0.
For a release bump:
- Update
watchtower::PLUGIN_VERSIONinwatchtower.phpor runsh scripts/bump-version.sh 1.0.0. - Update
CHANGELOG.md. - Create the matching release tag after verification.
texxasrulez/watchtower 适用场景与选型建议
texxasrulez/watchtower 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 8 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 12 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 texxasrulez/watchtower 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 texxasrulez/watchtower 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 20
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2025-12-03
