{"repo":"worksome/envy","free":true,"listed":false,"github":"https://github.com/worksome/envy","clone":"git clone https://github.com/worksome/envy.git","description":"Keep your .env.example file up to date","language":"PHP","stars":688,"topics":["environment","laravel","console"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Envy Automate keeping your environment files in sync. How many times have you onboarded a new dev onto your team, only to have to spend ages debugging with them because your project's .env.example file is wildly outdated? Too many to count, if you're anything like us. Wouldn't it be nice if there were a way to ensure your environment files stay up to date? That's why we created Envy! With a simple Artisan command, you can sync your environment files with your project config to keep everything fresh. Installation You can install the package via composer: We recommend publishing our config file, which allows you to fine-tune Envy to your project's requirements. You can do that using our install command: That's it! You're now ready to start using Envy. Usage Envy provides two commands: envy:sync and envy:prune . Let's break down how to use each of them. php artisan envy:sync This command combs through your project's config files for calls to Laravel's env function. After finding them all, it will compare them against your configured environment files (by default just your .env.example ) for missing entries. If there are missing entries, you will be given the choice to either: 1. Add the missing keys to your environment file 2. Add the missing keys to Envy's exclusion list To learn more about configuring environment files, config files and exclusions, see the Configuration documentation. The envy:sync command provides several options you might find helpful. --path If you'd like t","default_branch":null,"files":null,"tree":[],"storefront":"/r/worksome","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/worksome/envy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}