PHPackages                             amjadbm/laravel-env-diff - 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. amjadbm/laravel-env-diff

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

amjadbm/laravel-env-diff
========================

Create a visual Diff of .env and .env.example files

1.0.0(1y ago)0257Amjad BaniMattarPHPPHP ^8.0

Since Sep 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/amjadbanimattar/laravel-env-diff)[ Packagist](https://packagist.org/packages/amjadbm/laravel-env-diff)[ RSS](/packages/amjadbm-laravel-env-diff/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (14)Versions (2)Used By (0)

Laravel Env Diff
================

[](#laravel-env-diff)

Create a visual Diff of .env and .env.example files

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

[](#installation)

```
composer require abm/laravel-env-diff:^1.0.0
```

Configuration
-------------

[](#configuration)

Copy configuration to config folder:

```
$ php artisan vendor:publish --provider="AmjadBM\EnvDiff\Providers\EnvDiffProvider"

```

```
return [
    /*
     * Specify all environment files that should be compared.
     */
    'files'         => [
        '.env',
        '.env.example',
    ],

    /*
     * The base path to look for environment files.
     */
    'path'          => base_path(),

    /*
     * User colors when printing console output.
     */
    'use_colors'    => true,

    /*
     * Hide variables that exist in all .env files.
     */
    'hide_existing' => true,

    /*
     * Show existing env values instead of y/n.
     */
    'show_values'   => false,
];
```

Usage
-----

[](#usage)

```
$ php artisan abm:env:diff
              {files? : Specify environment files, overriding config}
              {--values : Display existing environment values}';

```

Example
-------

[](#example)

```
$ php artisan abm:env:diff .env,.env.second

```

```
$ php artisan abm:env:diff .env,.env.second --values

```

Testing
-------

[](#testing)

```
./vendor/bin/phpunit
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

655d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/87ef08fca867a0a79ff018a2f339e8930f7d16320bd120d4d150f220e738be53?d=identicon)[amjad.banimattar](/maintainers/amjad.banimattar)

---

Top Contributors

[![amjad-y-banimattar](https://avatars.githubusercontent.com/u/244904365?v=4)](https://github.com/amjad-y-banimattar "amjad-y-banimattar (4 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/amjadbm-laravel-env-diff/health.svg)

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

###  Alternatives

[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[livewire/flux

The official UI component library for Livewire.

9527.8M127](/packages/livewire-flux)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)

PHPackages © 2026

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