rakshitbharat/bugphix-laravel

捕获并监控详细的错误日志,配备精美的仪表板和用户界面。

安装: 19

依赖: 0

建议者: 0

安全性: 0

星标: 0

关注者: 1

分支: 11

语言:CSS

v2.0 2020-06-19 12:56 UTC

This package is auto-updated.

Last update: 2024-09-08 15:44:04 UTC


README

Bugphix logo

Build Status MIT License GitHub last commit

捕获并监控详细的错误日志,配备精美的仪表板和用户界面



Dashboard gif

要求

安装

$ 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://:8080/bugphix/issues

完整文档请见:https://bugphix-docs.netlify.com

许可证

MIT

版权所有(c)2020,Jeric