PHPackages                             symplify/parameter-name-guard - 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. symplify/parameter-name-guard

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

symplify/parameter-name-guard
=============================

Prevent silent parameter typos that silently break your app

v8.2.1(5y ago)10956.6k↑300%MITPHPPHP ^7.2

Since May 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/deprecated-packages/parameter-name-guard)[ Packagist](https://packagist.org/packages/symplify/parameter-name-guard)[ GitHub Sponsors](https://github.com/tomasvotruba)[ RSS](/packages/symplify-parameter-name-guard/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (5)Versions (37)Used By (0)

Package Builder
===============

[](#package-builder)

[![Downloads total](https://camo.githubusercontent.com/24a504683f58e5ad3ef8d56d928d6059ec661a7ce592bdd1d4f5599339c4f046/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73796d706c6966792f706172616d657465722d6e616d652d67756172642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/symplify/parameter-name-guard/stats)

Prevent parameter typos that silently break your app.

Install
-------

[](#install)

```
composer require symplify/parameter-name-guard
```

Register bundle:

```
# config/bundles.php
return [
    Symplify\ParameterNameGuard\Bundle\ParameterNameGuardBundle::class => ['all' => true],
];
```

Use
---

[](#use)

### Prevent Parameter Typos

[](#prevent-parameter-typos)

Was it `ignoreFiles`? Or `ignored_files`? Or `ignore_file`? Are you lazy to read every `README.md` to find out the correct name? Make developers' live happy by helping them.

```
# app/config/services.yaml
parameters:
    correctKey: 'value'

    # you need to get just this one right :D
    correct_to_typos:
        # correct key name
        correct_key:
            # the most common typos that people make
            - 'correctKey'

            # regexp also works!
            - '#correctKey(s)?#i'
```

This way user is informed on every typo he or she makes via exception:

```
Parameter "parameters > correctKey" does not exist.
Use "parameters > correct_key" instead.
```

They can focus less on remembering all the keys and more on programming.

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity42

Moderate usage in the ecosystem

Community7

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

Total

35

Last Release

2156d ago

Major Versions

v7.3.15 → v8.0.0-beta12020-05-16

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/924196?v=4)[Tomas Votruba](/maintainers/TomasVotruba)[@TomasVotruba](https://github.com/TomasVotruba)

---

Top Contributors

[![TomasVotruba](https://avatars.githubusercontent.com/u/924196?v=4)](https://github.com/TomasVotruba "TomasVotruba (2 commits)")

---

Tags

guardparameterphpsymfonytypo

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/symplify-parameter-name-guard/health.svg)

```
[![Health](https://phpackages.com/badges/symplify-parameter-name-guard/health.svg)](https://phpackages.com/packages/symplify-parameter-name-guard)
```

PHPackages © 2026

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