blank-framework/problem-details-exceptions 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

blank-framework/problem-details-exceptions

最新稳定版本:v1.0.0

Composer 安装命令:

composer require blank-framework/problem-details-exceptions

包简介

List of common HTTP exceptions for use as problem details responses

README 文档

README

The problem details exceptions package contains very simple classes for common HTTP exceptions. These are intended to allow quick exits in applications while providing proper HTTP status code. You may also use this package to create your own custom exceptions with the HTTP codes as the base.

This package is a continuation on the Blank Framework Web Exceptions package.

Additionally all exceptions should be Problem Details capable.

Included HTTP responses

  • 400 - Bad Request
  • 401 - Unauthorised
  • 403 - Forbidden
  • 404 - Not Found
  • 405 - Method not allowed
  • 406 - Not Acceptable
  • 418 - I'm a teapot
  • 422 - Unprocessable Entity
  • 500 - Internal Server Error
  • 501 - Not Implemented
  • 502 - Bad Gateway
  • 503 - Service Unavailable
  • 504 - Gateway Timeout

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2023-12-02