定制 ngframer/ngframer.php.exceptions 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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:

  1. Smart Rendering: It automatically adapts and presents errors differently for APIs, CLIs, and HTMLs.
  2. Customization: You get base renderers to start with, and you can tweak how error details are displayed.
  3. Detailed Debugging: In development mode, you get helpful infos: error codes, types, messages, even the source file and line number.
  4. 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
  • 点击次数: 1
  • 依赖项目数: 4
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-31