hpsweb / bugphix-laravel-sdk
使用漂亮的仪表板和UI捕获并监控详细的错误日志。
dev-master
2020-05-16 20:34 UTC
Requires
- php: >=7.0.0
- guzzlehttp/guzzle: ^6.3|^7.0
Requires (Dev)
- laravel/laravel: ~6.0
- orchestra/testbench: ^4.0
- phpunit/phpunit: ~6.0
This package is auto-updated.
Last update: 2024-09-17 05:51:01 UTC
README
使用漂亮的仪表板和UI捕获并监控详细的错误日志
要求
安装
$ composer require hpsweb/bugphix-laravel-sdk
应用程序使用
编辑:/app/Exceptions/Handler.php
public function report(Exception $exception)
{
if (app()->bound('bugphix') && $this->shouldReport($exception)) {
app('bugphix')->catchError($exception);
}
parent::report($exception);
}
测试命令
$ php artisan bugphix:test