sunnyflail/exception-handler

A simple Exception Handling addon for more graphical stack traces

Maintainers

Package info

github.com/SunnyFlail/ExceptionHandler

pkg:composer/sunnyflail/exception-handler

Statistics

Installs: 68

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.2.0 2021-06-26 01:43 UTC

This package is auto-updated.

Last update: 2026-02-26 12:12:12 UTC


README

A simple graphical interface over exception message

How to use

After installing it with composer and importing composer autoloader in your front controller file, insert this code at top of your front controller, just after importing autoload.php

use SunnyFlail\ExceptionHandler\ExceptionHandler;

set_error_handler([ExceptionHandler::class, "handleError"]);
set_exception_handler([ExceptionHandler::class, "handleException"]);