Matt Stauffer 11/4/2015

Environment specific variables in Laravel's testing environment

Read Original

This article explains how to manage sensitive environment variables, like API credentials for Twilio, in Laravel's testing environment without committing them to version control. It details the process of creating a .env.test file, adding it to .gitignore, and loading it in the TestCase base class using different versions of the Dotenv library.

Environment specific variables in Laravel's testing environment

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet