rakshitbharat / bugphix-laravel
捕获并监控详细的错误日志,配备精美的仪表板和用户界面。
v2.0
2020-06-19 12:56 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
README
捕获并监控详细的错误日志,配备精美的仪表板和用户界面
要求
安装
$ composer require bugphix/bugphix-laravel
发布配置文件
$ php artisan vendor:publish --tag=bugphix-config
运行 artisan 安装器
$ php artisan bugphix:install
应用程序使用
编辑:/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
查看管理员仪表板
完整文档请见:https://bugphix-docs.netlify.com
许可证
MIT
版权所有(c)2020,Jeric