PHPackages                             baopham/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. baopham/env-checker

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

baopham/env-checker
===================

Artisan command to check if all required variables are configured in .env

0112[1 issues](https://github.com/baopham/env-checker/issues)PHP

Since Sep 13Pushed 10y agoCompare

[ Source](https://github.com/baopham/env-checker)[ Packagist](https://packagist.org/packages/baopham/env-checker)[ RSS](/packages/baopham-env-checker/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

env-checker
===========

[](#env-checker)

Artisan command to check if all required variables are configured in `.env` by checking the `.env.example`

- [Usage](#usage)
- [Envoy usage example](#envoy-usage-example)
- [Requirements](#requirements)
- [License](#license)
- [Author](#author)

Usage:
------

[](#usage)

1. Run

```
$ composer require baopham/env-checker
```

2. Register in your `config/app.php`:

```
'providers' => [
    ...
    BaoPham\EnvChecker\EnvCheckerServiceProvider::class,
    ...
];
```

3. Update your `.env.example` to indicate all required variables
4. Run the command

```
$ php artisan env:check
```

Envoy Usage Example
-------------------

[](#envoy-usage-example)

Include this in your `Envoy.blade.php`:

```
@task('deploy_dev', ['on' => 'dev'])
    cd /home/forge/app
    git fetch
    git checkout origin/dev -- config/envchecker.php
    php artisan env:check
    // If the check above fails, the script stops here.
    // else, it continues (you can continue to pull the latest code and deploy)
@endtask

```

Requirements:
-------------

[](#requirements)

Laravel 5.1

License:
--------

[](#license)

MIT

Author:
-------

[](#author)

Bao Pham

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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/56cd10ba67e31741d8b1d5beb2415d5c4cd54bd86746f97225f6af4b8934783d?d=identicon)[baopham](/maintainers/baopham)

---

Top Contributors

[![baopham](https://avatars.githubusercontent.com/u/783410?v=4)](https://github.com/baopham "baopham (11 commits)")

### Embed Badge

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

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

###  Alternatives

[ebanx/stream

A library to help working with streams of data in PHP

174.8k](/packages/ebanx-stream)

PHPackages © 2026

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