upkareno/error-reporter 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

upkareno/error-reporter

最新稳定版本:v1.7

Composer 安装命令:

composer require upkareno/error-reporter

包简介

Simple Error Reporting package

README 文档

README

Install

composer require upkareno/error-reporter

Configuration

run this artisan command to publish provider

php artisan vendor:publish --provider="Upkareno\ErrorReporter\Providers\ReporterProvider"

Then run

php artisan migrate

Create a new reporter

php artisan make:reporter

enter your name and email address to report bugs to email address

Confing Reporter

open app/Exeptions/Handler.php
add the following lines :
public function register()  
    {   
        $this->reportable(function (Throwable $e) {  
              $reporter = new \Upkareno\ErrorReporter\Reporter();  
              $reporter->report($e); 
        });  
   } 
   

Get Error Reports

use this JSON response to view in admin dashboard or developer page

统计信息

  • 总下载量: 63
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-12