code: public static function loadDotEnv()
      {
          $dotenv = new Dotenv();
          if (is_file(getcwd().'/.env.dist')) {
              $dotenv->load(getcwd().'/.env.dist');
          }
          if (is_file($file = getcwd().'/.env')) {
              $dotenv->load($file);
          }
  
          if (false === getenv('TIMEZONE')) {
              putenv('TIMEZONE=Europe/Berlin');
          }
          date_default_timezone_set(getenv('TIMEZONE'));
      }
docs: Load environment variables from .env files