<?php
return [
'database' => [
'name' => getenv('DB_DATABASE'),
'username' => getenv('DB_USERNAME'),
'password' => getenv('DB_PASSWORD'),
'connection' => getenv('DB_CONNECTION').':host='.getenv('DB_HOST'),
'port' => getenv('DB_PORT'),
'options' => [
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION
]
]
];
|