PHPackages                             weew/http-app-error-handler-json - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. weew/http-app-error-handler-json

ActiveLibrary[HTTP &amp; Networking](/categories/http)

weew/http-app-error-handler-json
================================

Display json formatted errors and exceptions in http applications.

v1.0.1(9y ago)0841MITPHP

Since Jul 23Pushed 9y ago1 watchersCompare

[ Source](https://github.com/weew/http-app-error-handler-json)[ Packagist](https://packagist.org/packages/weew/http-app-error-handler-json)[ RSS](/packages/weew-http-app-error-handler-json/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (6)Versions (3)Used By (1)

JSON error handler
==================

[](#json-error-handler)

[![Build Status](https://camo.githubusercontent.com/1f5a37622ab6885808058d6f8860c438f75f71318f77cd15adbc405b12c73649/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f776565772f687474702d6170702d6572726f722d68616e646c65722d6a736f6e2e737667)](https://travis-ci.org/weew/http-app-error-handler-json)[![Code Quality](https://camo.githubusercontent.com/f74424e47e6613b9c232a91f18b4eb043f962970f5f7dc36b9bca112061b8eb8/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f776565772f687474702d6170702d6572726f722d68616e646c65722d6a736f6e2e737667)](https://scrutinizer-ci.com/g/weew/http-app-error-handler-json)[![Test Coverage](https://camo.githubusercontent.com/8fc04ac5498fb96c9ca2be11c391db5a23cf25f4ea72ddf7a6394952db5434b4/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f776565772f687474702d6170702d6572726f722d68616e646c65722d6a736f6e2e737667)](https://coveralls.io/github/weew/http-app-error-handler-json)[![Version](https://camo.githubusercontent.com/d3126008c7f5dd744f5b69cc2afce149630672971022fd5ae0b6dd507271c68a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776565772f687474702d6170702d6572726f722d68616e646c65722d6a736f6e2e737667)](https://packagist.org/packages/weew/http-app-error-handler-json)[![Licence](https://camo.githubusercontent.com/30996dcb878c81605bddd46dc06151f14b5870839b7dc7d5292beaba2c834859/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f776565772f687474702d6170702d6572726f722d68616e646c65722d6a736f6e2e737667)](https://packagist.org/packages/weew/http-app-error-handler-json)

Table of contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Introduction](#introduction)
- [Usage](#usage)

Installation
------------

[](#installation)

`composer require weew/http-app-error-handler-json`

Introduction
------------

[](#introduction)

This package provides visualisation of errors and exceptions in JSON format for the [weew/http-app](https://github.com/weew/http-app) package.

Usage
-----

[](#usage)

To enable this provider simply register it on the kernel.

```
$app->getKernel()->addProviders([
    ErrorHandlerProvider::class,
    JsonErrorHandlerProvider::class,
]);
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity64

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3629d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/10b2b854b5829dd13a15967c000ed2119b5faef67aca24d94c653c8ac550d85e?d=identicon)[weew](/maintainers/weew)

### Embed Badge

![Health badge](/badges/weew-http-app-error-handler-json/health.svg)

```
[![Health](https://phpackages.com/badges/weew-http-app-error-handler-json/health.svg)](https://phpackages.com/packages/weew-http-app-error-handler-json)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69122.6k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
