PHPackages                             irontec/json-exception-response-bundle - 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. irontec/json-exception-response-bundle

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

irontec/json-exception-response-bundle
======================================

Treat exceptions in JSON

1.0.1(4y ago)22.8kEUPL-1.1PHP

Since Jul 4Pushed 2y ago15 watchersCompare

[ Source](https://github.com/irontec/json-exception-response-bundle)[ Packagist](https://packagist.org/packages/irontec/json-exception-response-bundle)[ Docs](https://www.irontec.com)[ RSS](/packages/irontec-json-exception-response-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (6)Used By (0)

Json Exception Response
=======================

[](#json-exception-response)

Captura las Exception que se generen y las formatea antes de generar el Response JSON.

```
composer require irontec/json-exception-response-bundle
```

Si el proyecto esta en modo **dev** se devuelve un parametro "debug" con una pequeña traza de donde se genero la excepción.

```
{
    "error": {
        "code": 400,
        "message": "Error message!",
        "debug": {
            "file": "/opt/symfony/vendor/symfony/http-kernel/HttpKernel.php",
            "line": 151,
            "function": "index",
            "class": "App\\Controller\\ExampleController",
            "type": "->",
            "args": [
                {}
            ]
        }
    }
}
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~241 days

Total

5

Last Release

1546d ago

Major Versions

0.0.3 → 1.0.02019-12-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/1b8f8acc87c4c4b64661a2bb5ff97db1f731d47af7b94a2db1b09ae25ce90b04?d=identicon)[irontec](/maintainers/irontec)

---

Top Contributors

[![ddniel16](https://avatars.githubusercontent.com/u/7371341?v=4)](https://github.com/ddniel16 "ddniel16 (5 commits)")

---

Tags

bundlejson-exceptionsymfonysymfonybundlejson-exception

### Embed Badge

![Health badge](/badges/irontec-json-exception-response-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/irontec-json-exception-response-bundle/health.svg)](https://phpackages.com/packages/irontec-json-exception-response-bundle)
```

###  Alternatives

[lexik/jwt-authentication-bundle

This bundle provides JWT authentication for your Symfony REST API

2.6k58.7M210](/packages/lexik-jwt-authentication-bundle)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k48.1M236](/packages/api-platform-core)[fresh/centrifugo-bundle

Provides communication with web-socket server Centrifugo in Symfony applications.

83375.3k](/packages/fresh-centrifugo-bundle)[cypresslab/patch-manager

A library to manage patch requests

16117.4k](/packages/cypresslab-patch-manager)[xabbuh/panda-bundle

integration of the Panda encoding services into the Symfony2 Framework

10174.6k](/packages/xabbuh-panda-bundle)[mediamonks/rest-api

MediaMonks Rest API

1351.3k1](/packages/mediamonks-rest-api)

PHPackages © 2026

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