Download the PHP package mtolhuys/laravel-env-scanner without Composer
On this page you can find all versions of the php package mtolhuys/laravel-env-scanner. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mtolhuys/laravel-env-scanner
More information about mtolhuys/laravel-env-scanner
Files in mtolhuys/laravel-env-scanner
Package laravel-env-scanner
Short Description Checks environmental variables used in the env() and getenv() helper functions
License MIT
Homepage https://github.com/mtolhuys/laravel-env-scanner
Informations about the package laravel-env-scanner
Laravel environmental variable scanner
This package comes with a LaravelEnvScanner
class and artisan command which you can use to scan any folder in your app for potential .env related problems.
Example output of the command:
Installation
You can install the package via composer:
Usage
You can call the artisan command to start the scan:
Optionally you could specify a directory to run from (defaults to config_path()
):
Or show all used variables:
Aside from the command you can use the LaravelEnvScanner
from anywhere you want:
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Maarten Tolhuijs
- All Contributors
- Beyond Code For the boilerplate and having me come up with the idea for this package.
License
The MIT License (MIT). Please see License File for more information.