Skip to content

Configuration

Mohammad Emran edited this page Aug 14, 2025 · 1 revision

Configuration

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' => '',
        ],
    ],
];

Clone this wiki locally