PHPackages                             readybytes/env-checker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. readybytes/env-checker

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

readybytes/env-checker
======================

This will check invalid use of env variables.

23.1k↑450%PHP

Since Nov 23Pushed 5y ago3 watchersCompare

[ Source](https://github.com/readybytes/env-checker)[ Packagist](https://packagist.org/packages/readybytes/env-checker)[ RSS](/packages/readybytes-env-checker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Env Checker
===================

[](#laravel-env-checker)

[![Latest Stable Version](https://camo.githubusercontent.com/c7c511465b82c74ae7727725474cacc324518ce8bfd1c84353893f982200a9e4/68747470733a2f2f706f7365722e707567782e6f72672f726561647962797465732f656e762d636865636b65722f762f737461626c65)](https://packagist.org/packages/readybytes/env-checker)[![Total Downloads](https://camo.githubusercontent.com/0fbb36c8f58e482680cc6107b777353b4ffac9e792162ad8269a948c1afd560a/68747470733a2f2f706f7365722e707567782e6f72672f526561647962797465732f656e762d636865636b65722f646f776e6c6f616473)](https://packagist.org/packages/readybytes/env-checker)[![License](https://camo.githubusercontent.com/8726a959b46c3dce4ec4f61eebcc9cab1229d6afc0670df74f5e6cfa7b728676/68747470733a2f2f706f7365722e707567782e6f72672f726561647962797465732f656e762d636865636b65722f6c6963656e7365)](https://packagist.org/packages/readybytes/env-checker)[![Issues](https://camo.githubusercontent.com/4957754ddd529dc4a59d3ade45a2119344c25250cc370385d25e9fd811a5df87/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f726561647962797465732f656e762d636865636b65722e7376673f7374796c653d666c61742d737175617265)](https://github.com/readybytes/env-checker/issues)[![Stars](https://camo.githubusercontent.com/c8b2d3376102dff40673846dca0c2488d9364a348f24019ddab34ceda0b49509/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f726561647962797465732f656e762d636865636b65722e7376673f7374796c653d666c61742d737175617265)](https://github.com/readybytes/env-checker/stargazers)

Laravel package to compare all env files in your project.

Installation
------------

[](#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
-----

[](#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)

[![Example of env-checker](https://github.com/chandrabhan11/env-checker-screenshot/raw/master/env-checker-example.png)](https://github.com/chandrabhan11/env-checker-screenshot/blob/master/env-checker-example.png)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/bff05965912c099332994b713c7ce54b74aee1a6641ec51e2b0fc6cf402226d2?d=identicon)[Chandra\_bhan](/maintainers/Chandra_bhan)

---

Top Contributors

[![chandrabhan11](https://avatars.githubusercontent.com/u/62789980?v=4)](https://github.com/chandrabhan11 "chandrabhan11 (10 commits)")

---

Tags

debugging-tooldeveloper-toolsenv-checkerlaravel

### Embed Badge

![Health badge](/badges/readybytes-env-checker/health.svg)

```
[![Health](https://phpackages.com/badges/readybytes-env-checker/health.svg)](https://phpackages.com/packages/readybytes-env-checker)
```

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
