<?php

use App\Core\Env;

return [
    'db' => [
        'host' => Env::get('DB_HOST', '127.0.0.1'),
        'port' => (int) Env::get('DB_PORT', '3306'),
        'name' => Env::get('DB_NAME', 'pteche5_app'),
        'user' => Env::get('DB_USER', 'pteche5_mina'),
        'pass' => Env::get('DB_PASS', '9Eu6owF+gw8['),
        'charset' => Env::get('DB_CHARSET', 'utf8mb4'),
    ],
    'app' => [
        'name' => Env::get('APP_NAME', 'Sales & Stock v1'),
        'timezone' => Env::get('APP_TIMEZONE', 'Africa/Cairo'),
        'env' => Env::get('APP_ENV', 'production'),
        'debug' => Env::bool('APP_DEBUG', false),
        'runtime_schema_patches' => Env::bool('APP_RUNTIME_SCHEMA_PATCHES', true),
    ],
];
