Skip to content

jtheuerkauf/php-http-exception

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fuzz HTTP Exception

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%