fuzz/http-exception 问题修复 & 功能扩展

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

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

fuzz/http-exception

最新稳定版本:1.0.4

Composer 安装命令:

composer require fuzz/http-exception

包简介

A library containing a set of RESTful HTTP exceptions that use a consistent interface.

README 文档

README

A library containing a set of RESTful HTTP exceptions that use a consistent interface, built upon the ideas set by symfony/http-kernel

Usage

<?php

use Fuzz\HttpException\AccessDeniedHttpException;

throw new AccessDeniedHttpException('Access denied.');

Testing

phpunit

Code Coverage

phpunit --coverage-html tests/coverage && open tests/coverage/index.html

TODO

  1. Support all appropriate HTTP status codes
  2. Improve exception API

统计信息

  • 总下载量: 23.16k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 11
  • Watchers: 22
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-10-14