jetea / exception
Jetea 异常组件。
2.0.0
2019-01-17 11:07 UTC
Requires
- php: >=7.1.3
This package is auto-updated.
Last update: 2024-09-25 21:53:15 UTC
README
Jetea 异常组件。
安装
composer require jetea/exception=~2.0 -vvv
入门
-
编辑 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; -
运行
php -S 127.0.0.1:9000 -
打开浏览器窗口并导航到 http://127.0.0.1:9000。你应该能够看到调试器页面。