readybytes / env-checker
This will check invalid use of env variables.
dev-master
2020-11-23 06:23 UTC
Requires
- jsefton/php-dotenv-parser: dev-master
This package is auto-updated.
Last update: 2025-03-23 16:15:42 UTC
README
Laravel package to compare all env files in your project.
Installation
In Laravel 5.5+ env-checker will install via the new package discovery feature so you only need to add the package to your composer.json file
composer require readybytes/env-checker
and you are ready to go
Usage
Compare all env files available in your project directory.
php artisan env:check
This will generate a table containing all env variables with values. If value or variable not found in any env this will give you a warning message. '-' for variable having no value and 'N/A' for variable not found.
Also you get files with line number where you used env variables directly.