readybytes/env-checker

This will check invalid use of env variables.

Installs: 2 828

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 0

pkg:composer/readybytes/env-checker

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

This package is auto-updated.

Last update: 2025-09-23 17:26:32 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