weew / http-app-error-handler-json
Display json formatted errors and exceptions in http applications.
Installs: 84
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/weew/http-app-error-handler-json
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: 2025-10-09 07:20:09 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, ]);