crasivo/bitrix-whoops
最新稳定版本:0.0.2
Composer 安装命令:
composer require crasivo/bitrix-whoops
包简介
Whoops library adapter for 1C-Bitrix
README 文档
README
Adapter for the popular Whoops library for 1C-Bitrix & Bitrix24. Used for visual debugging of errors in the public part of the project.
Implementation features:
- Simple and quick integration into an existing project
- Great for older versions
- Hiding "secret phrases" of environment variables (YourAwesomePa55 > ********)
Minimum requirements for installation:
- 1C-Bitrix kernel version (main):
v20.5.400 - PHP version:
v7.2 - Whoops version:
v2.18
🚀 Quick Start
To use the library, you need to install the Composer package via the command:
$ cd /path/to/project
$ composer require crasivo/bitrix-whoops
Next, you need to register the handler via init.php. To do this, simply add one line of code to the specified file.
Crasivo\Bitrix\Whoops\ExceptionHandlerOutput::register();
To check the functionality, you need to activate the debug mode via the exception_handling.debug parameter in the .settings.php file
and manually call an arbitrary Exception in the public part of the site.
📜 License
This project is distributed under the MIT license. The full text of the license can be read in the LICENSE file.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-09-13