sfili81/error-report-widget
最新稳定版本:V1.02
Composer 安装命令:
composer require sfili81/error-report-widget
包简介
Error Report Widget - send email when error on browser console
README 文档
README
This widget detects javascript errors in the browser console and sends them via email
The preferred way to install this extension is through composer. Either run
composer require sfili81/error-report-widget
or add
"sfili81/error-report-widget": "*"
to your composer.json
Usage
Once the extension is installed, simply use it in your code by:
use sfili81\ErrorReportWidget\ErrorReportWidget;
and then insert the code before all other javascript files
<?= ErrorReportWidget::widget() ?>
Email Address Setting
To set an email address to send the error report to, set a pair like this in the params.php file:
'supportEmail' => 'yourEmailAddress@mail.com'
统计信息
- 总下载量: 57
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-2-Clause
- 更新时间: 2025-04-10