<?php

declare(strict_types=1);

/**
 * Database connection configuration for the MySQL 8 PDO driver.
 */

return [
    'driver'   => env('DB_DRIVER', 'mysql'),
    'host'     => env('DB_HOST', '127.0.0.1'),
    'port'     => (int) env('DB_PORT', 3306),
    'database' => env('DB_DATABASE', 'botguard'),
    'username' => env('DB_USERNAME', 'root'),
    'password' => env('DB_PASSWORD', ''),
    'charset'  => env('DB_CHARSET', 'utf8mb4'),

    // PDO options applied on top of the secure defaults in Database::pdo().
    'options' => [],
];
