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-12-19 03:19:08 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, ]);