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.
Published on Jul 2nd, 2018.
Understand.io is used by hundreds of Laravel developers to find and fix errors.
Sign up for a free 14-day trial now.