<?php use Illuminate\Support\Str; return [ /* |-------------------------------------------------------------------------- | Default Database Connection Name |-------------------------------------------------------------------------- | | Here you may specify which of the database connections below you wish | to use as your default connection for all database work. Of course | you may use many connections at once using the Database library. | */ 'default' => env('DB_CONNECTION', 'mysql'), /* * Encryption key to use for casting encrypted model attributes * Falls back to app key if not set, so the app doesn't break on install */ 'encryption_key' => env('DB_ENCRYPTION_KEY', env('APP_KEY')), // ...