bugphix/bugphix-laravel

使用美观的仪表盘和UI捕获和监控详细的错误日志。

安装次数: 5,362

依赖者: 0

建议者: 0

安全: 0

星标: 112

关注者: 2

分支: 11

公开问题: 12

语言:HTML


README

Bugphix logo

Build Status MIT License GitHub last commit

使用美观的仪表盘和UI捕获和监控详细的错误日志



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