###############################################################################
# Reward Loyalty - Laravel Digital Savings Cards Solution Configuration File  #
###############################################################################

# =============================================================================
# Application Settings
# =============================================================================

# If "false", the installation process will show, "true" means the app is already installed
APP_IS_INSTALLED=true

# Date of installation of the app, leave blank if not yet installed
APP_INSTALLATION_DATE="2026-03-16 20:01:25"

# The name of the application
APP_NAME="Reward Loyalty"

# URL for the application's logo (e.g. https://example.com/assets/img/logo.svg)
APP_LOGO=""

DEFAULT_CURRENCY=EGP
DEFAULT_TIMEZONE="Africa/Cairo"

# URL for the application's logo, specifically for dark themes
APP_LOGO_DARK=""

# Application's environment (local, production, etc.)
APP_ENV="production"

# Application's encryption key
APP_KEY="base64:bbAXD2NTzyQIuc8+eaPMa0MoRINx1FIxy0RMl3FUUQw="

# Toggle debug mode: "true" for on, "false" for off
APP_DEBUG=true

# The base URL of the application
APP_URL="http://127.0.0.1:8000"

# Number of days that a staff member can see a member he/she interacted with
APP_STAFF_TRANSACTION_DAYS_AGO=7

# OpenAI or compatible AI config
OPENAI_ENABLED=false
OPENAI_API_KEY=""
OPENAI_ORGANIZATION=""
OPENAI_MODEL="gpt-3.5-turbo"
OPENAI_BASE_URL="https://api.openai.com/v1"

# Determines whether to display a cookie consent banner to visitors.
# Set to "true" to show the banner, "false" to hide it.
APP_COOKIE_CONSENT=false

# Enables an automatic login link in the registration email for members.
# Beware: Some email providers may flag such emails as spam. If facing deliverability issues, set to "false".
APP_REGISTRATION_EMAIL_LINK=true

# =============================================================================
# Progressive Web App (PWA) Settings
# =============================================================================
# Complete PWA configuration. All settings are independent from main app config.
# Allows different branding for the installed PWA app vs the web app.

# Full app name displayed in install prompts and app info
# Falls back to APP_NAME if not set
PWA_APP_NAME="${APP_NAME}"

# Short name displayed on mobile home screen (max 12 characters recommended)
PWA_SHORT_NAME="Rewards"

# Description shown in app install prompts and app stores
PWA_DESCRIPTION="Your digital loyalty cards"

# Theme color for browser chrome/toolbar (hex color code)
# Visible in browser UI, app switcher, and status bar
PWA_THEME_COLOR="#F39C12"

# Background color shown during app launch (hex color code)
# Should match your app's primary background
PWA_BACKGROUND_COLOR="#ffffff"

# =============================================================================
# Update Protection Settings
# =============================================================================
# These paths are preserved during automatic updates. Add your custom
# translations or other files you don't want overwritten.

# Comma-separated list of additional paths to protect during updates
# Example: lang/de_DE,lang/fr_FR,custom/config.php
PROTECTED_PATHS=""

# Comma-separated list of translation directories to protect
# These are relative to the lang/ directory
# Example: de_DE,fr_FR,custom_XX
PROTECTED_TRANSLATIONS=""

# =============================================================================
# Maintenance Settings
# =============================================================================

APP_MAINTENANCE_DRIVER=file
APP_MAINTENANCE_STORE=database

# =============================================================================
# Bcrypt Settings
# =============================================================================

BCRYPT_ROUNDS=12

# =============================================================================
# Logging Settings
# =============================================================================

LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

# =============================================================================
# Database Connection Variables
# =============================================================================

DB_CONNECTION="mysql"
DB_HOST="127.0.0.1"
DB_PORT=3306
DB_DATABASE="elcart"
DB_USERNAME="root"
DB_PASSWORD=""

# =============================================================================
# Cache, Session and Queue Settings
# =============================================================================

BROADCAST_DRIVER=log
CACHE_DRIVER=file
FILESYSTEM_DISK=local
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120

# =============================================================================
# Memcached Settings
# =============================================================================

MEMCACHED_HOST=127.0.0.1

# =============================================================================
# Redis Settings
# =============================================================================

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

# =============================================================================
# Mail Settings
# =============================================================================

MAIL_MAILER=log
MAIL_HOST=mail.msf-eg.org
MAIL_PORT=587
MAIL_USERNAME=web@msf-eg.org
MAIL_PASSWORD="GW{%!2,czjQV5}y="
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=web@msf-eg.org
MAIL_FROM_NAME="TurnKey"

# Mailgun Settings (if using mailgun driver)
MAILGUN_DOMAIN=
MAILGUN_SECRET=
MAILGUN_ENDPOINT=api.mailgun.net

# Postmark Settings (if using postmark driver)
POSTMARK_TOKEN=

# Resend Settings (if using resend driver)
RESEND_KEY=

# =============================================================================
# AWS Variables
# =============================================================================

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false

# =============================================================================
# Pusher Variables
# =============================================================================

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_HOST=
PUSHER_PORT=443
PUSHER_SCHEME=https
PUSHER_APP_CLUSTER=mt1

# =============================================================================
# Vite Pusher Variables
# =============================================================================

VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
VITE_PUSHER_HOST="${PUSHER_HOST}"
VITE_PUSHER_PORT="${PUSHER_PORT}"
VITE_PUSHER_SCHEME="${PUSHER_SCHEME}"
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
