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(7mo ago)106202.2k↓44.3%8[4 PRs](https://github.com/chrisdicarlo/laravel-config-checker/pulls)MITPHPPHP ^8.1||^8.2||^8.3||^8.4CI passing

Since Sep 18Pushed 1w 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 3d ago

READMEChangelog (8)Dependencies (9)Versions (15)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

57

—

FairBetter than 98% of packages

Maintenance83

Actively maintained with recent releases

Popularity48

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity65

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

223d 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

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M101](/packages/dedoc-scramble)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.9k3](/packages/defstudio-telegraph)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)

PHPackages © 2026

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