Lightweight frontend debugger and exception handler for PHP.
- Debug/Print any variable to the frontend debugger box.
- Show formatted stacktrace of exceptions.
composer req "noelclick/php-frontend-debugger"
// Composer autoloader
require "./vendor/autoload.php";
\NoelClick\PhpFrontendDebugger\ExceptionHandler::getInstance()
->setCondition(true) // Optionally, you can set conditions with the `setCondition()` method.
->handle();
// Composer autoloader
require "./vendor/autoload.php";
$fooBar = ["foo", "bar"];
\NoelClick\PhpFrontendDebugger\FrontendDebugger::getInstance()
->insert($fooBar, "FooBar"); // Optionally, you can also specify a title.
All notable changes to this project will be documented in the CHANGELOG.md file.
© Copyright 2022 by Noel Kayabasli