2026 Community Survey results are here! See how the Craft CMS community works. results are live!

What is a .env file for?

Craft 3 uses .env files for storing environment-specific information (like database connection info). Here's the skinny on .env.

Instructor
Level
Beginner
Date Published
April 12, 2018