weew/http-app-error-handler-json

Display json formatted errors and exceptions in http applications.

v1.0.1 2016-07-23 15:28 UTC

This package is not auto-updated.

Last update: 2024-04-25 00:28:49 UTC


README

Build Status Code Quality Test Coverage Version Licence

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,
]);