Skip to content
Ramon Ribeiro edited this page Jan 24, 2020 · 6 revisions

Returns the given .env as JSON array containing all entries as object with key and value

$env = new DotenvEditor(); 
echo $env->envAsJson($this->getContent());