Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

ml-archive/php-http-exception

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

Contributors 4

  •  
  •  
  •  
  •  

Languages