<?php
return [
    'app' => [
        'name'      => 'سامانه تولید فرم PDF',
        'name_en'   => 'PDF Form Generator',
        'env'       => $_ENV['APP_ENV'] ?? getenv('APP_ENV') ?: 'development',
        'debug'     => true,
        'timezone'  => 'Asia/Tehran',
        'locale'    => 'fa',
        'base_url'  => '',
    ],
    'session' => [
        'name'     => 'PDFFORM_SID',
        'lifetime' => 60 * 60 * 4,
        'secure'   => false,
        'httponly' => true,
        'samesite' => 'Lax',
    ],
    'security' => [
        'bcrypt_cost' => 12,
        'csrf_token_name' => '_csrf',
    ],
    'pdf' => [
        'templates_dir' => STORAGE_PATH . '/../public/uploads/templates',
        'output_dir'    => STORAGE_PATH . '/../public/uploads/generated',
        'font'          => 'vazirmatn',
    ],
];
