mattrink/tiny-crash-reporter 问题修复 & 功能扩展

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

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

mattrink/tiny-crash-reporter

Composer 安装命令:

composer require mattrink/tiny-crash-reporter

包简介

A minimal crash reporting library for PHP

README 文档

README

The mattrink/tiny-crash-reporter library gracefully handles PHP errors and exception returning single line error messages before continuing execution. No dependencies or extra libraries required. TinyCrashReporter will continue after handling the error or execution as if it was never there, meaning that the exception or error will still continue to bubble up.

Requirements

TinyCrashReporter only requires PHP 7, nothing more and nothing less.

Installation

You can install the package via composer:

composer require mattrink/tiny-crash-reporter

Usage

Usage is very simple, once installed ensure that composer's autoload.php file is included, add the class use MattRink\TinyCrashReporter\TinyCrashReporter; and create a new instance of TinyCrashReporter.

require "vendor/autoload.php";

use MattRink\TinyCrashReporter\TinyCrashReporter;

$reporter = new TinyCrashReporter();

From this point all exceptions and errors will be handled by TinyCrashHandler before calling any original handler if defined. All errors will be passed through and exceptions will be rethrown if no handler exists.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2017-08-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固