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-11-07 02:54:54 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,
]);