1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?php
- return [
- /*
- |--------------------------------------------------------------------------
- | Database Connections
- |--------------------------------------------------------------------------
- |
- | Here are each of the database connections setup for your application.
- | Of course, examples of configuring each database platform that is
- | supported by Laravel is shown below to make development simple.
- |
- |
- | All database work in Laravel is done through the PHP PDO facilities
- | so make sure you have the driver for your particular database of
- | choice installed on your machine before you begin development.
- |
- */
- 'connections' => [
- 'mysql' => [
- 'driver' => 'mysql',
- 'host' => 'localhost',
- 'database' => 'homestead',
- 'username' => 'homestead',
- 'password' => 'secret',
- 'charset' => 'utf8',
- 'collation' => 'utf8_unicode_ci',
- 'prefix' => '',
- ],
- 'pgsql' => [
- 'driver' => 'pgsql',
- 'host' => 'localhost',
- 'database' => 'homestead',
- 'username' => 'homestead',
- 'password' => 'secret',
- 'charset' => 'utf8',
- 'prefix' => '',
- 'schema' => 'public',
- ],
- ],
- ];
|