<?php

return [
    'app_name' => 'Lab LIMS',
    'timezone' => 'Asia/Baghdad',
    'db' => [
        'host' => 'localhost',
        'port' => 3306,
        'name' => 'amanarac_lab_lims',
        'user' => 'amanarac_lab_lims',
        'pass' => 'asd123asd@',
        'charset' => 'utf8mb4'
    ],
    'security' => [
        'password_algo' => PASSWORD_BCRYPT,
        'portal_token_secret' => 'lab_portal_2024_secret',
        'password_policy' => [
            'enabled' => true,
            'min_length' => 8,
            'require_uppercase' => true,
            'require_lowercase' => true,
            'require_numbers' => true,
            'require_special' => false
        ],
        'auto_block_suspicious_ips' => true,
        'suspicious_ip_threshold' => 5, // عدد المحاولات الفاشلة قبل الحظر
        'ip_block_duration_hours' => 24 // مدة الحظر بالساعات
    ],
    'whatsapp' => [
        'enabled' => false,
        'provider' => 'meta_cloud_api',
        'from_number' => '',
        'api_url' => '',
        'access_token' => ''
    ],
    'sms' => [
        'enabled' => false,
        'provider' => 'unifonic',
        'app_sid' => '',
        'sender_id' => ''
    ],
    'backup' => [
        'enabled' => true,
        'retention_days' => 7,
        'cloud_upload' => false,
        'cloud_provider' => null,
        'cloud_bucket' => null
    ]
];
