info(sprintf("The following environment file is used: '%s'", App::environmentFilePath())); if (Storage::exists('.env')) { $env = Dotenv::parse(Storage::get('.env')); } else { $this->warn('The environment file does not exist.'); return 1; } if (empty($env)) { $this->warn('The environment file is empty.'); return 2; } $this->table(['Key', 'Value'], array_map(fn($k, $v) => [$k, $v], array_keys($env), $env)); return 0; } }