<?php
/**
 * Uppal Construction LLC — database & mail configuration (SAMPLE)
 *
 * 1. Copy this file to  api/config.php
 * 2. Fill in the real cPanel MySQL user + password for the database
 *    uppalgroupcp_uppal_website, and your mailbox password for SMTP.
 * 3. NEVER commit api/config.php — it is git-ignored on purpose.
 */

return [
    // ---- MySQL (cPanel → MySQL Databases) ----
    'db_host' => 'localhost',
    'db_name' => 'uppalgroupcp_uppal_website',
    'db_user' => 'uppalgroupcp_dbuser',   // ← the MySQL user you created
    'db_pass' => 'CHANGE_ME',             // ← that user's password

    // ---- Email recipients ----
    'mail_to'        => 'admin@uppalgroup.ae',   // where inquiries are sent
    'mail_from'      => 'admin@uppalgroup.ae',   // a mailbox/alias on your domain
    'mail_from_name' => 'Uppal Construction Website',

    // ---- Authenticated SMTP (recommended for inbox delivery) ----
    // Leave smtp_host empty ('') to use PHP mail() instead.
    // cPanel tips:
    //   • Same-server delivery:  host 'localhost', port 465, secure 'ssl', verify false
    //   • Or your mail host:     host 'mail.yourdomain.com', port 465 ('ssl') or 587 ('tls')
    'smtp_host'   => 'localhost',
    'smtp_port'   => 465,                  // 465 = SSL, 587 = STARTTLS
    'smtp_secure' => 'ssl',                // 'ssl' | 'tls' | 'none'
    'smtp_user'   => 'admin@uppalgroup.ae',// a real mailbox login
    'smtp_pass'   => 'CHANGE_ME',          // that mailbox's password
    'smtp_verify' => false,                // false for localhost self-signed cert
];
