Published On Jul. 2nd 2018
Episode 18 • Run Time 1:58
Your Laravel application is now live. Let's imagine that, a few months later, you change email or logging providers. When switching to this new service, you'll typically be given a private API authorization key. Rather than hard-coding these keys into your PHP code, a better alternative is to store then within an
.env file. Using Forge, we can easily update this configuration file on the fly.