jetea / exception
The Jetea Exception component.
2.0.0
2019-01-17 11:07 UTC
Requires
- php: >=7.1.3
This package is auto-updated.
Last update: 2024-04-25 21:04:41 UTC
README
The Jetea Exception component.
Installation
composer require jetea/exception=~2.0 -vvv
Getting Started
-
vim index.php
<?php require __DIR__ . '/vendor/autoload.php'; $handler = new \Jetea\Exception\Handler(); (new \Jetea\Exception\HandleExceptions($handler))->handle(); //undefined variable: a echo $a;
-
Run
php -S 127.0.0.1:9000
-
Open a browser window and navigate to http://127.0.0.1:9000. You should be able to see the debugger page.