Skip to content

Instantly share code, notes, and snippets.

@ricardoaugusto
Forked from morrislaptop/gist.php
Last active September 22, 2017 16:59
Show Gist options
  • Save ricardoaugusto/c28946c1c3fa6ed40b67edbbdf9f062b to your computer and use it in GitHub Desktop.
Save ricardoaugusto/c28946c1c3fa6ed40b67edbbdf9f062b to your computer and use it in GitHub Desktop.
<?php
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', 'homestead' == gethostname() ? 'localhost' : '127.0.0.1'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'homestead'),
'password' => env('DB_PASSWORD', 'secret'),
'port' => env('DB_PORT', 'homestead' == gethostname() ? null : 33060),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'strict' => true,
'engine' => null
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment