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
- Support all appropriate HTTP status codes
- Improve exception API
统计信息
- 总下载量: 23.16k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-10-14