PHPackages                             reusablecog/error-dictionary-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. reusablecog/error-dictionary-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

reusablecog/error-dictionary-bundle
===================================

1.0.0(2y ago)03MITPHP

Since Dec 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/JBlairy/ErrorDictionaryBundle)[ Packagist](https://packagist.org/packages/reusablecog/error-dictionary-bundle)[ RSS](/packages/reusablecog-error-dictionary-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (9)Versions (3)Used By (0)

[![](./public/build/images/reusablecog_250x250.png)](./public/build/images/reusablecog_250x250.png)

Error Dictionary Bundle
=======================

[](#error-dictionary-bundle)

The Error Dictionary Bundle is a Symfony bundle designed to simplify the generation of error management pages. It allows you to display error descriptions, associated codes, exceptions, and response codes by simply filling out a YAML configuration file. [![](./docs/capture.png)](./docs/capture.png)

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

[](#installation)

You can install the ErrorDictionary using Composer:

```
composer require reusablecog/error-dictionary-bundle
```

Features
--------

[](#features)

- Error Definition Configuration: Define error codes, labels, descriptions, categories, status codes, and associated exceptions in a YAML configuration file.
- Easy Integration: Seamlessly integrate error management pages into your Symfony project.

Usage
-----

[](#usage)

To use the Error Dictionary Bundle, you need to define error codes and their details in the configuration file. Here's an example:

```
#config/packages/error_dictionary.yaml
error_dictionary:
    error_definition:
        '999999':
            label: The resource was not found in database.
            description: The resource was not found in database.
            category: Home
            status_code: 404
            exception: ResourceNotFound
        '9E8302':
            label: Incorrect payload for the registration API.
            description: In the registration API all fields are required.
            category: Account
            status_code: 400
            exception: BadRequest
```

Versions
--------

[](#versions)

PHP versionSymfony versionComposer flags&gt;= 8.16.x / 7.xContributing
------------

[](#contributing)

If you encounter any issues or would like to contribute to Error Dictionary Bundle, feel free to create a pull request or submit an issue on the GitHub repository.

License
-------

[](#license)

The Error Dictionary Bundle is open-source software licensed under the MIT license.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

894d ago

### Community

Maintainers

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

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/reusablecog-error-dictionary-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/reusablecog-error-dictionary-bundle/health.svg)](https://phpackages.com/packages/reusablecog-error-dictionary-bundle)
```

###  Alternatives

[symfony/ux-chartjs

Chart.js integration for Symfony

1003.2M18](/packages/symfony-ux-chartjs)[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)[symfony/ux-cropperjs

Cropper.js integration for Symfony

19280.3k3](/packages/symfony-ux-cropperjs)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)[pentiminax/ux-datatables

DataTables.net integration for Symfony

605.6k](/packages/pentiminax-ux-datatables)

PHPackages © 2026

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