readybytes / env-checker
This will check invalid use of env variables.
Installs: 2 197
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 0
Open Issues: 0
Requires
- jsefton/php-dotenv-parser: dev-master
This package is auto-updated.
Last update: 2024-04-23 13:49:13 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.