alireaza / error-handler-render-json-response
This is JSON Response package for Render Error Handler.
Fund package maintenance!
Linkedin
1.2.0
2022-03-06 06:09 UTC
Requires
- php: ^8.0.0
- alireaza/error-handler: 1.2.0
- symfony/http-foundation: v5.3.7
- symfony/http-kernel: v5.3.7
Requires (Dev)
- phpunit/phpunit: ^9.5.16
README
Install
Via Composer
$ composer require alireaza/error-handler-render-json-response
Usage
use AliReaza\ErrorHandler\ErrorHandler; use AliReaza\ErrorHandler\Render\JsonResponse as RenderErrorHandler; $error_handler = new ErrorHandler(); $error_handler->register(true, true); $error_handler->setRender(RenderErrorHandler::class);
License
The MIT License (MIT). Please see License File for more information.