The idea behind .env.dist.local is to create a single file that contains all the environment variables required by your application, with default values or placeholders. You can then use this file as a template to generate environment-specific files, such as .env.development , .env.staging , or .env.production .
: Create .env.dist.local and add the necessary local variables with empty or default values. .env.dist.local
: The .env.dist.local file is version-controlled and shared among the team. It provides a reference for the environment variables required by the application without exposing sensitive data. The idea behind
LOG_CHANNEL=stack LOG_LEVEL=debug