-
Notifications
You must be signed in to change notification settings - Fork 80
_changeEnv
oliveira-filipe edited this page Jun 15, 2017
·
1 revision
Sets the content of the given backup or the current .env.
$env = new DotenvEditor();
// Changes the value of the Database name and username
$env->changeEnv([
'DB_DATABASE' => 'laravel-news',
'DB_USERNAME' => 'diaafares',
]);