spiral-packages/yii-error-handler-bridge
最新稳定版本:1.1.3
Composer 安装命令:
composer require spiral-packages/yii-error-handler-bridge
包简介
Yii Error Handler integration package for Spiral Framework
README 文档
README
Requirements
Make sure that your server is configured with following PHP version and extensions:
- PHP 8.1+
- Spiral framework 3.0+
Documentation, Installation, and Usage Instructions
See the documentation for detailed installation and usage instructions.
Acceptance Test Sandbox
This package includes an acceptance test sandbox that demonstrates how the different error renderers work with various verbosity levels. The sandbox provides a simple web interface to visualize errors rendered in HTML, JSON, XML, and Plain Text formats.
Running the Sandbox
You can run the sandbox using Composer:
composer sandbox
Or manually start the PHP built-in web server from the project root:
php -S localhost:8000 tests/Acceptance/server.php
Then open your browser and navigate to http://localhost:8000
The interface allows you to select different renderer types (HTML, JSON, Plain Text, XML) and verbosity levels (Basic, Verbose, Debug) to see how exceptions are presented in each format.
This sandbox is useful for testing and understanding how the error renderers work in different scenarios without needing to integrate them into a full application.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 116.2k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-27