Package to check that configuration key references actually exist in your config files.
chrisdicarlo/laravel-config-checker is a Laravel package for package to check that configuration key references actually exist in your config files..
It currently has 106 GitHub stars and 207.675 downloads on Packagist (latest version v1.4.0).
Install it with composer require chrisdicarlo/laravel-config-checker.
Discover more Laravel packages by chrisdicarlo
or browse all Laravel packages to compare alternatives.
Last updated
This package adds an Artisan command to check for invalid configuration file references in your application code and Blade views.
Feel like shouting out a thank you? Buy me a coffee! ☕️
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"
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:

If you want the command to scan PHP/Blade code under custom paths, you can add or update entries in
config/config-checker.php.
To disable progress bars (e.g. in CI), pass the --no-progress flag when running the command:
php artisan config:check --no-progress
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
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.