fuzz / http-exception
This package is abandoned and no longer maintained.
No replacement package was suggested.
A library containing a set of RESTful HTTP exceptions that use a consistent interface.
1.0.4
2023-05-02 21:44 UTC
Requires
- php: >=7.0
Requires (Dev)
- phpunit/phpunit: ~5.6
This package is not auto-updated.
Last update: 2024-05-05 06:23:45 UTC
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