ngframer/ngframer.php.exceptions
最新稳定版本:v2.1.1
Composer 安装命令:
composer require ngframer/ngframer.php.exceptions
包简介
Exception and Exception handler for all the NGFramer projects and mostly used Exceptions and Exception handlers.
README 文档
README
A flexible and customizable PHP exception renderer for API, CLI, and HTML environments.
This package provides a robust system for handling and rendering exceptions in your PHP applications. It offers different rendering options tailored for API, CLI, and traditional HTML environments, making it easy to present error information in a user-friendly and contextually relevant way.
What It Does
This package gives you a flexible system for rendering exceptions in different environments:
- Smart Rendering: It automatically adapts and presents errors differently for APIs, CLIs, and HTMLs.
- Customization: You get base renderers to start with, and you can tweak how error details are displayed.
- Detailed Debugging: In development mode, you get helpful infos: error codes, types, messages, even the source file and line number.
- Error Logging: Tracks of all your errors by logging them to a file.
Learn to Use
Check out the short and simple guide on how to use this package over readme.md.
You'll find instructions on installation, basic setup, and creating your own custom renderers.
License
This package is open-sourced software licensed under the MIT License.
统计信息
- 总下载量: 233
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-05-31