gourmet/whoops
最新稳定版本:v1.1.0
Composer 安装命令:
composer require gourmet/whoops
包简介
Whoops for CakePHP 3
README 文档
README
Whoops
Built to seamlessly integrate Whoops with CakePHP 3.
Install
Using Composer:
composer require gourmet/whoops:~1.0
As this plugin only offers a Whoops handler for CakePHP, there is no need to
enable it per se. You only need to configure that handler instead of Cake's own
ErrorHandler by replacing the following line in bootstrap.php:
(new ErrorHandler(Configure::read('Error')))->register();
with the Whoops handler:
(new \Gourmet\Whoops\Error\WhoopsHandler(Configure::read('Error')))->register();
That's it!
License
Copyright (c)2015, Jad Bitar and licensed under The MIT License.
统计信息
- 总下载量: 37.97k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 26
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-05-02