Environment Synchronization is a package that makes it easy to keep a file up .env.example
to date.
It is useful for both teams and individual developers. It often happens that developers either simply do not want to keep the file up .env.example
to date, or they are simply too lazy to delete private data and unnecessary keys from it. This package is the solution to this problem.
After installation, you can run the artisan command to automatically update the file .env.example
from .env
:
php artisan env:sync
The plugin will save the necessary keys in a file .env.example
, removing private data from them.
Moreover, the package is framework independent and can be used in any project without any restrictions. You can find instructions on how to use it outside of the Laravel framework on the project page in GitHub under the " Other using " block .