phuongdev89/yii2-errorhandler
最新稳定版本:1.0.0
Composer 安装命令:
composer require phuongdev89/yii2-errorhandler
包简介
Yii2 Error Handle
README 文档
README
Must have phpstorm-protocol before
Composer
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist phuongdev89/yii2-errorhandler "@dev"
or add
"phuongdev89/yii2-errorhandler": "@dev"
to the require section of your composer.json file.
Parameters
$traceLine
Type: string
Default: {html}
If phpstorm-protocol installed, change it to
<a href="phpstorm://open?url=file://{file}&line={line}">{html}</a>
$projectDirectionMap
Type: array|null
Default: null
In docker container, project directory is /app maybe different with your IDE, just map it
Example
'components' => [
'errorHandler' => [
'class' => \phuongdev89\errorhandler\ErrorHandler::class,
/**
'traceLine' => '<a href="phpstorm://open?url=file://{file}&line={line}">{html}</a>',
'projectDirectionMap' => [
'/app' => 'D:\\Ampps\\www\mofiex-com'
]
*/
],
],
统计信息
- 总下载量: 117
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-10