Download the PHP package kielabokkie/dotenv-diff without Composer
On this page you can find all versions of the php package kielabokkie/dotenv-diff. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Short Description Checks the differences between dotenv files
All versions of dotenv-diff with dependencies
Informations about the package dotenv-diff
This package automatically compares your
.env.example files and notifies you when there are differences.
The preferred way of installing this package is through composer:
Once the package is installed there are two ways of running the Dotenv diff automatically, either by using git hooks or composer scripts.
First of all you can have the Dotenv diff run automatically when you do a
git pull. To set this up you'll need to copy over the supplied
post-merge git hook to your
From the root of your project execute the following command:
Note: this will overwrite your existing
post-merge hook so if you already have one you'll need to figure out how to combine multiple post merge hooks
You can also set it up so it runs whenever you run composer commands like
composer install or
All you need to do is call the
run method from the scripts section of your