Skip to content

weew/http-app-error-handler-json

Repository files navigation

JSON error handler

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

About

Display json formatted errors and exceptions in http applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages