webkid/bugreporter
Composer 安装命令:
composer require webkid/bugreporter
包简介
A php class for Laravel to send bug reports with data
关键字:
README 文档
README
Run:
composer require webkid/bugreporter
Add the service provider to config/app.php under providers:
'providers' => [
Webkid\BugReporter\BugReporterServiceProvider::class,
]
Publish Config
php artisan vendor:publish --provider="Webkid\BugReporter\BugReporterServiceProvider"
Update config file:
config/bugreports.php
Update app/Exceptions/Handler.php file:
public function report(Exception $e)
{
//fire bug report here
$bugReport = new Reporter();
$bugReport->sendReport($e);
//old code
return parent::report($e);
}
Also provide environment variables:
UKIE_REPORTS_ENABLE=true
UKIE_REPORTS_URL=
UKIE_REPORTS_TOKEN=
统计信息
- 总下载量: 269
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-05-06