/catchr

Handles PHP errors and creates GitHub issues for them

Primary LanguagePHPMIT LicenseMIT

catchr

Still under development

Catches all PHP errors and creates GitHub issues for them

catchr is an error handler for PHP. It catches all the PHP errors that occure and creates GitHub issues for them.

(current) Features

  • Catches all errors (even Fatal errors)
  • Creates clear, detailed GitHub issues
  • Clean, well-structured & tested code-base

(upcoming) Features

  • Redirect to pretty error page
  • Redirect to own error page
  • Integration with BitBucket

Installing

  1. Use Composer to install catchr into your project:

    composer require samhendrickx/catchr
  2. Register the pretty handler in your code:

    require 'vendor/autoload.php';
    
    Catchr\Catchr::handleErrors();