PHPackages                             bappygates/laravel-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. bappygates/laravel-env-checker

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

bappygates/laravel-env-checker
==============================

Checks required environment variables in a Laravel project.

00PHP

Since Jul 1Pushed 1y agoCompare

[ Source](https://github.com/bappygates/laravel-env-checker)[ Packagist](https://packagist.org/packages/bappygates/laravel-env-checker)[ RSS](/packages/bappygates-laravel-env-checker/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#laravel-env-checker)

A simple Laravel package to check for required environment variables and validate their presence and types.

🔧 Installation
--------------

[](#-installation)

```
composer require bappygates/laravel-env-checker
```

If using locally:

```
composer config repositories.env-checker path ./packages/laravel-env-checker
composer require bappygates/laravel-env-checker:dev-main
```

Then publish the config file:

```
php artisan vendor:publish --tag=config
```

⚙️ Configuration
----------------

[](#️-configuration)

The `config/env-checker.php` file contains a list of required environment variables and their expected types.

🚀 Usage
-------

[](#-usage)

Run the checker with:

```
php artisan env:check
```

This will display all environment variables defined in the config file and indicate if they are missing, empty, or of the wrong type.

✅ Example Output
----------------

[](#-example-output)

```
[✔] APP_NAME = MyApp
[✘] APP_KEY is missing
[✘] DB_PORT is not a valid integer
[!] MAIL_ENCRYPTION is empty

```

📄 License
---------

[](#-license)

MIT

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity15

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/87889beb187aefaddc14607c40b98c5b30ebf5da830ee1d3b914be9d55b1bd08?d=identicon)[bappygates](/maintainers/bappygates)

---

Top Contributors

[![bappygates](https://avatars.githubusercontent.com/u/6869484?v=4)](https://github.com/bappygates "bappygates (1 commits)")

### Embed Badge

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

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

###  Alternatives

[havokinspiration/wrench

Maintenance mode plugin for CakePHP 3.X

2664.8k](/packages/havokinspiration-wrench)[xj/yii2-lazyload-widget

yii2-lazyload-widget

175.4k](/packages/xj-yii2-lazyload-widget)[boxblinkracer/shopware-ai-demodata

AI Demo Data

291.6k](/packages/boxblinkracer-shopware-ai-demodata)

PHPackages © 2026

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