# =====================================================================
# PRODUCTION .env  —  Hostinger shared hosting
# After uploading, RENAME this file to ".env" on the server and fill in
# the database + mail credentials from your Hostinger panel.
# =====================================================================

APP_NAME="SMS ERP"
APP_ENV=production
# Keep this key (already generated). Do NOT change it once the app has data.
APP_KEY=base64:TCkSYLQJyvUGoETCL4q+aHT4xsTbd8MZZhyvEKZhzvg=
APP_DEBUG=true
APP_URL=https://itartificer.com/sms-erp

APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US

APP_MAINTENANCE_DRIVER=file

BCRYPT_ROUNDS=12

LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=error

# --- Database (create it in hPanel → Databases → MySQL) ---
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=u385418287_smserpnew
DB_USERNAME=u385418287_smserpadmin
DB_PASSWORD=qhe;Sp+9

# Shared hosting has no Redis — database drivers work out of the box.
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null
SESSION_SECURE_COOKIE=true

BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=database
CACHE_STORE=database

# --- Email (Hostinger → Emails → create a mailbox, then use SMTP) ---
MAIL_MAILER=smtp
MAIL_HOST=smtp.hostinger.com
MAIL_PORT=465
MAIL_USERNAME=no-reply@itartificer.com
MAIL_PASSWORD=CHANGE_ME
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS="no-reply@itartificer.com"
MAIL_FROM_NAME="${APP_NAME}"
