2017 © Pedro Peláez
 

library tiny-crash-reporter

A minimal crash reporting library for PHP

image

mattrink/tiny-crash-reporter

A minimal crash reporting library for PHP

  • Thursday, August 31, 2017
  • by MattRink
  • Repository
  • 1 Watchers
  • 1 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

A minimal crash reporting library for PHP

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., (*1)

Requirements

TinyCrashReporter only requires PHP 7, nothing more and nothing less., (*2)

Installation

You can install the package via composer:, (*3)

``` bash composer require mattrink/tiny-crash-reporter, (*4)


## 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`. ```php 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., (*5)

The Versions

31/08 2017

dev-master

9999999-dev https://github.com/MattRink/tiny-crash-reporter

A minimal crash reporting library for PHP

  Sources   Download

The Requires

  • php ^7.0

 

31/08 2017

v0.1

0.1.0.0 https://github.com/MattRink/tiny-crash-reporter

A minimal crash reporting library for PHP

  Sources   Download

The Requires

  • php ^7.0