Editing Environment Variables 0:00Your Laravel application is now live, and after some time, you add features where you add new environment variables to your system. Or maybe you want to change existing environment variables because you want to change the logging service, for example. So to do this, you have basically two options. You could either go to your server via SSH and change the content of the environment file, or you can use Laravel Void's admin interface for this. In order to do this, you go to your site and go to the Environment tab. And here you can click on Added Environment, and it will show you a modal view with the contents of your env file. So in this case, if I want to change the log channel, for example, to stack, I can just add the file inline and press Save. Now, another cool feature of Laravel Forge is that if you added the environment, Debug Mode Safety Warning 0:54I can just add the file inline and press Save. Now, another cool feature of Laravel Forge is that if you added the environment, and let's say you enable debug mode because, well, maybe you want to debug something on your live server, which you shouldn't, but maybe you do. Then if you save this, Laravel Forge is actually telling you that debug mode is currently enabled and asks you if that's really what you want to do. So this is a really nice way of having some kind of safety net that, well, maybe you shouldn't enable debug in a live server environment. But never mind, we know what we do. So we save it, and we're good to go. So this is a really easy way to edit the environment file of your existing sites on Laravel Forge.to edit the environment file of your existing sites on Laravel Forge.