myoutdeskllc / yii-whoops
Whoops integration class into Yii Framework 1.1
1.0.1
2018-02-27 09:54 UTC
Requires
- filp/whoops: 1.*
- yiisoft/yii: 1.1.*
This package is not auto-updated.
Last update: 2024-11-15 07:06:04 UTC
README
Integrates the Whoops library into Yii 1.1.
Usage
-
Install it:
- Using [Composer] (it will automatically install Whoops main libraries as well):
composer require myoutdeskllc/yii-whoops composer install
- Or [downloading] and unpacking it in your
extensions
folder.
-
If you're using Composer, I strongly recomend you to create a
vendor
alias if you haven't yet. Add this to the beginning of yourconfig/main.php
:Yii::setPathOfAlias('vendor', __DIR__.'/../../vendor');
-
Replace your
errorHandler
entry atconfig/main.php
with the error handler class. Example:'errorHandler' => ['class' => 'vendor.myoutdeskllc.yii-whoops.WhoopsErrorHandler']