Skip to content

Instantly share code, notes, and snippets.

@morrislaptop
Created February 20, 2015 09:10
Show Gist options
  • Save morrislaptop/7ec0193b19ea21023a55 to your computer and use it in GitHub Desktop.
Save morrislaptop/7ec0193b19ea21023a55 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', 'forge'),
'password' => env('DB_PASSWORD', ''),
'port' => env('DB_PORT', 'homestead' == gethostname() ? null : 33060),
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment