weew / http-app-error-handler-json
Display json formatted errors and exceptions in http applications.
v1.0.1
2016-07-23 15:28 UTC
Requires
- weew/error-handler: ^3.5
- weew/http-app: ^2.10
Requires (Dev)
- henrikbjorn/phpspec-code-coverage: ^2.0
- phpspec/phpspec: ^2.4
- satooshi/php-coveralls: ^0.6.1
- weew/helpers-phpspec: ^1.0
This package is not auto-updated.
Last update: 2024-11-07 02:54:54 UTC
README
Table of contents
Installation
composer require weew/http-app-error-handler-json
Introduction
This package provides visualisation of errors and exceptions in JSON format for the weew/http-app package.
Usage
To enable this provider simply register it on the kernel.
$app->getKernel()->addProviders([ ErrorHandlerProvider::class, JsonErrorHandlerProvider::class, ]);