goenitz / beauty-exceptions

漂亮的 PHP 异常和错误处理。

v1.5 2017-11-03 02:27 UTC

This package is auto-updated.

Last update: 2024-09-21 23:38:01 UTC


README

安装

composer require goenitz/beauty-exceptions

用法

//error_reporting(E_ALL || ~E_NOTICE);
require 'vendor/autoload.php';

\Goenitz\BeautyExceptions\BeautyExceptions::register();

好的,这就完了!

屏幕截图

ScreenShot

变更日志

v1.1.0

  • 修复错误:BeautyException::exceptionHandler 方法错误。

v1.2.0

  • 样式:将默认主题更改为 yii-like。