PHPackages                             chrisdicarlo/laravel-config-checker - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. chrisdicarlo/laravel-config-checker

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

chrisdicarlo/laravel-config-checker
===================================

Package to check that configuration key references actually exist in your config files.

v1.4.0(5mo ago)105187.1k↑16.7%7[2 PRs](https://github.com/chrisdicarlo/laravel-config-checker/pulls)MITPHPPHP ^8.1||^8.2||^8.3||^8.4CI passing

Since Sep 18Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/chrisdicarlo/laravel-config-checker)[ Packagist](https://packagist.org/packages/chrisdicarlo/laravel-config-checker)[ Docs](https://github.com/chrisdicarlo/laravel-config-checker)[ Fund](https://www.buymeacoffee.com/chrisdicarlo)[ GitHub Sponsors]()[ RSS](/packages/chrisdicarlo-laravel-config-checker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (9)Versions (13)Used By (0)

Check for undefined configuration key references in your Laravel project.
=========================================================================

[](#check-for-undefined-configuration-key-references-in-your-laravel-project)

[![Latest Version on Packagist](https://camo.githubusercontent.com/856ace5268db7cfbb7c9172c3b35f4ef9870538ea46dcd6e4a686d1c410d8d7f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636872697364696361726c6f2f6c61726176656c2d636f6e6669672d636865636b65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chrisdicarlo/laravel-config-checker)[![GitHub Tests (8.2 / 8.3) Action Status](https://camo.githubusercontent.com/8bfb106a6d21bcb798ce453017f880a18bc2c59aa4ddb0783d475151e2217e69/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f636872697364696361726c6f2f6c61726176656c2d636f6e6669672d636865636b65722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/chrisdicarlo/laravel-config-checker/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Tests (8.1) Action Status](https://camo.githubusercontent.com/079ddb9bc5bf5909e3a35913c71a59b484e700a5a20a2ba3ec4490787d9a8c41/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f636872697364696361726c6f2f6c61726176656c2d636f6e6669672d636865636b65722f72756e2d7068702d382e312d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/chrisdicarlo/laravel-config-checker/actions?query=workflow%3Arun-php-8.1-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/09d9111e604b5e3a572e8916b859002ec24a2d47287bb438b46f2cb6da336143/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f636872697364696361726c6f2f6c61726176656c2d636f6e6669672d636865636b65722f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/chrisdicarlo/laravel-config-checker/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/43b4b60e94bd0b769603b5a084b1bfe3274b551eb8fa93b57f8e7a8213fe4556/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636872697364696361726c6f2f6c61726176656c2d636f6e6669672d636865636b65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chrisdicarlo/laravel-config-checker)

This package adds an Artisan command to check for invalid configuration file references in your application code and Blade views.

Support me
----------

[](#support-me)

**Feel like shouting out a thank you?** [Buy me a coffee! ☕️](https://buymeacoffee.com/chrisdicarlo)

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

[](#installation)

You can install the package via composer:

```
composer require chrisdicarlo/laravel-config-checker
```

After installing the package, you can publish the configuration file:

```
php artisan vendor:publish --tag="config-checker-config"
```

Usage
-----

[](#usage)

From the command-line, simply run:

```
php artisan config:check
```

The command will scan your Php code under `app`, `database`, `routes`, `bootstrap` and your Blade views under `resources/views`.
Any errors will be displayed in a table with information on the location and missing reference:

[![Sample Output](output-sample.png)](output-sample.png)

### Customizing paths

[](#customizing-paths)

If you want the command to scan PHP/Blade code under custom paths, you can add or update entries in `config/config-checker.php`.

### Disabling progress

[](#disabling-progress)

To disable progress bars (e.g. in CI), pass the `--no-progress` flag when running the command:

```
php artisan config:check --no-progress
```

### Specifying the file type to check

[](#specifying-the-file-type-to-check)

To skip checking of Php or Blade files, pass `--no-php` or `--no-blade` respectively:

```
php artisan config:check --no-php
php artisan config:check --no-blade
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Chris Di Carlo](https://github.com/chrisdicarlo)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance74

Regular maintenance activity

Popularity48

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 79.7% 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 ~54 days

Recently: every ~104 days

Total

9

Last Release

176d ago

Major Versions

v0.1.0 → v1.0.02024-09-19

PHP version history (2 changes)v0.1.0PHP ^8.1||^8.2||^8.3

v1.3.0PHP ^8.1||^8.2||^8.3||^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/6159207435e8cabb711901d8ccd89a36efc20b12f501ae282fa0e1b72720e461?d=identicon)[dicarlosystems](/maintainers/dicarlosystems)

---

Top Contributors

[![chrisdicarlo](https://avatars.githubusercontent.com/u/3483368?v=4)](https://github.com/chrisdicarlo "chrisdicarlo (59 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")[![makowskid](https://avatars.githubusercontent.com/u/6271194?v=4)](https://github.com/makowskid "makowskid (2 commits)")[![eleftrik](https://avatars.githubusercontent.com/u/6959298?v=4)](https://github.com/eleftrik "eleftrik (1 commits)")[![moshe-autoleadstar](https://avatars.githubusercontent.com/u/44633930?v=4)](https://github.com/moshe-autoleadstar "moshe-autoleadstar (1 commits)")

---

Tags

laravelChris Di Carlolaravel-config-checker

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/chrisdicarlo-laravel-config-checker/health.svg)

```
[![Health](https://phpackages.com/badges/chrisdicarlo-laravel-config-checker/health.svg)](https://phpackages.com/packages/chrisdicarlo-laravel-config-checker)
```

###  Alternatives

[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[axlon/laravel-postal-code-validation

Worldwide postal code validation for Laravel and Lumen

3853.3M1](/packages/axlon-laravel-postal-code-validation)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[ziming/laravel-zxcvbn

Zxcvbn Password validation rule for Laravel

3056.7k](/packages/ziming-laravel-zxcvbn)[laravel-validation-rules/phone

Validate that a phone number is in the correct format

69355.5k](/packages/laravel-validation-rules-phone)

PHPackages © 2026

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