** **.env.dist ** (or .env ): Contains global defaults like APP_ENV=development`.
# ========================================================================= # LOCAL DEVELOPMENT OVERRIDES TEMPLATE # Copy this file to .env.local and adjust the values for your machine. # ========================================================================= # Database: Override this if your local Docker or Localhost uses custom ports/passwords DATABASE_URL="postgresql://db_user:db_password@127.0.0.1:5432/app_local?serverVersion=16&charset=utf8" # Local Mail Catcher (e.g., Mailpit or Mailhog) # Un-comment the line below to capture emails locally instead of sending real ones # MAILER_DSN="smtp://localhost:1025" # Performance & Debugging Toggles DEBUG_TOOLBAR_ENABLED=true XDEBUG_MODE=develop,debug # Third-Party Mocking # Set to 'true' to bypass real Stripe API calls in your local environment USE_STRIPE_MOCK_SERVER=true STRIPE_LOCAL_WEBHOOK_SECRET="whsec_local_placeholder_change_me" Use code with caution. The Active File: .env.local .env.dist.local
Multiple developers adding new variables simultaneously. .env.dist.local