final public function normalizeDatabaseDriver(string $driverName)
    {
        if (is_string($driverName) && trim($driverName)) {
            $driverName = trim(strtolower($driverName));
            /**
             * switch to Doctrine fixed db
             * Aliases
             */
            $driverSchemeAliases = [
                'db2'        => 'ibm_db2',
                'drizzle'    => 'drizzle_pdo_mysql',
                'mssql'      => 'pdo_sqlsrv',
                'mysql'      => 'pdo_mysql',
                'mysql2'     => 'pdo_mysql', // Amazon RDS, for some weird reason
                'postgre'    => 'pdo_pgsql',
                'postgre_sql'=> 'pdo_pgsql',
                'postgres'   => 'pdo_pgsql',
                'postgresql' => 'pdo_pgsql',
                'pgsql'      => 'pdo_pgsql',
                'sqlite'     => 'pdo_sqlite',
                'sqlite3'    => 'pdo_sqlite',
                'oci'        => 'oci8',
                'pdo_oci'    => 'oci8',   # recommendation pdo_oci uses oci8
                'pdo_sqlsrv' => 'sqlsrv', #recommendation pdo_sqlsrv uses sqlsrv
            ];
            if (isset($driverSchemeAliases[$driverName])) {
                $driverName = $driverSchemeAliases[$driverName];
            }

            if (in_array($driverName, DriverManager::getAvailableDrivers())) {
                return $driverName;
            }
        }

        return false;
    }