t4web/error-handler
Composer 安装命令:
composer require t4web/error-handler
包简介
ZF2 Module. For handle and log errors
README 文档
README
ZF2 Module. For handle and log errors
If enabled you can log all PHP errors\notices\warnings etc.
Installation
Add this project in your composer.json:
"require": { "t4web/error-handler": "~1.0.0" }
Now tell composer to download T4web\ErrorHandler by running the command:
$ php composer.phar update
Post installation
Enabling it in your application.config.phpfile.
<?php return array( 'modules' => array( // ... 'T4web\Log', 'T4web\ErrorHandler', ), // ... );
Introduction
For example, we generate some errors. In our Application\Controller\IndexController:
public function indexAction() { $e = $a['i']; // this is Notice asd(); // this is Fatal return new ViewModel(); }
统计信息
- 总下载量: 112
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2016-08-17