-
Notifications
You must be signed in to change notification settings - Fork 1
Configuration
Mohammad Emran edited this page Aug 14, 2025
·
1 revision
You can configure database connections and settings using a configuration file or environment variables.
Example config/database.php:
return [
'default' => 'mysql',
'connections' => [
'mysql' => [
'driver' => 'mysql',
'host' => '127.0.0.1',
'database' => 'test',
'username' => 'root',
'password' => '',
],
],
];