Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Checks if configuration values exist by scanning for usage in the codebase.

License

Notifications You must be signed in to change notification settings

moshe-autoleadstar/laravel-config-checker

 
 

Repository files navigation

Check for undefined configuration key references in your Laravel project.

Latest Version on Packagist GitHub Tests (8.2 / 8.3) Action Status GitHub Tests (8.1) Action Status GitHub Code Style Action Status Total Downloads

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

Support me

Feel like shouting out a thank you? Buy me a coffee! ☕️

Installation

You can install the package via composer:

composer require chrisdicarlo/laravel-config-checker

Usage

From the command-line, simply run:

php artisan config:check

The command will scan your Php code under app 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

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Checks if configuration values exist by scanning for usage in the codebase.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%