Does anyone know how I can access all the data that is in the .env file? I need to bring all the data as an array, I have already used the helper function env (), without success, I need something like the example below. p>
$dadosConn = [
'driver' => 'postgres',
'username' => '',
'password' => '',
'host' => '',
'database' => '',
'port' => ''];