6 |--------------------------------------------------------------------------
8 |--------------------------------------------------------------------------
10 | By default, database results will be returned as instances of the PHP
11 | stdClass object; however, you may desire to retrieve records in an
12 | array format for simplicity. Here you can tweak the fetch style.
16 'fetch' => PDO::FETCH_CLASS,
19 |--------------------------------------------------------------------------
20 | Default Database Connection Name
21 |--------------------------------------------------------------------------
23 | Here you may specify which of the database connections below you wish
24 | to use as your default connection for all database work. Of course
25 | you may use many connections at once using the Database library.
29 'default' => env('DB_CONNECTION', 'mysql'),
32 |--------------------------------------------------------------------------
33 | Database Connections
34 |--------------------------------------------------------------------------
36 | Here are each of the database connections setup for your application.
37 | Of course, examples of configuring each database platform that is
38 | supported by Laravel is shown below to make development simple.
41 | All database work in Laravel is done through the PHP PDO facilities
42 | so make sure you have the driver for your particular database of
43 | choice installed on your machine before you begin development.
51 'database' => storage_path('database.sqlite'),
57 'host' => env('DB_HOST', 'localhost'),
58 'database' => env('DB_DATABASE', 'forge'),
59 'username' => env('DB_USERNAME', 'forge'),
60 'password' => env('DB_PASSWORD', ''),
62 'collation' => 'utf8_unicode_ci',
69 'host' => env('DB_HOST', 'localhost'),
70 'database' => env('DB_DATABASE', 'forge'),
71 'username' => env('DB_USERNAME', 'forge'),
72 'password' => env('DB_PASSWORD', ''),
80 'host' => env('DB_HOST', 'localhost'),
81 'database' => env('DB_DATABASE', 'forge'),
82 'username' => env('DB_USERNAME', 'forge'),
83 'password' => env('DB_PASSWORD', ''),
91 |--------------------------------------------------------------------------
92 | Migration Repository Table
93 |--------------------------------------------------------------------------
95 | This table keeps track of all the migrations that have already run for
96 | your application. Using this information, we can determine which of
97 | the migrations on disk haven't actually been run in the database.
101 'migrations' => 'migrations',
104 |--------------------------------------------------------------------------
106 |--------------------------------------------------------------------------
108 | Redis is an open source, fast, and advanced key-value store that also
109 | provides a richer set of commands than a typical key-value systems
110 | such as APC or Memcached. Laravel makes it easy to dig right in.
119 'host' => '127.0.0.1',