readybytes/env-checker

This will check invalid use of env variables.

dev-master 2020-11-23 06:23 UTC

This package is auto-updated.

Last update: 2024-04-23 13:49:13 UTC


README

Latest Stable Version Total Downloads License Issues Stars

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.

Example

Example of env-checker