# Standalone (single-institution) install — e.g. cPanel shared hosting.
# Copy to .env on the server, fill in the values marked CHANGE, then follow
# docs/DEPLOY-CPANEL.md.

APP_NAME="Khan Anwar School"                # CHANGE
APP_ENV=production
APP_KEY=base64:SFpDYm6nWbibCiR6K4ocVb0iVYxvZJIN9R04mPl8MGs=
APP_DEBUG=false
APP_URL=https://khananwarschool.edu.bd       # CHANGE — the school's domain, with https://
APP_MODE=standalone

# Domain used for auto-generated student/teacher login emails
# (std-2026-0143@khananwarschool.edu.bd). Usually the school's domain.
APP_MAIL_DOMAIN=khananwarschool.edu.bd       # CHANGE

APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US

APP_MAINTENANCE_DRIVER=file
BCRYPT_ROUNDS=12

LOG_CHANNEL=daily
LOG_LEVEL=error

# cPanel → MySQL Databases. cPanel prefixes names with your account user,
# e.g. cpuser_school / cpuser_dbuser.
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=cpuser_school                    # CHANGE
DB_USERNAME=cpuser_dbuser                    # CHANGE
DB_PASSWORD=                                 # CHANGE

# Shared hosting has no Redis / Horizon / Reverb — use the database for
# sessions, cache and queues, and run the queue from cron (see the guide).
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null
SESSION_SECURE_COOKIE=true

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

# Outgoing mail. Can also be set later from /platform/settings/mail.
MAIL_MAILER=smtp
MAIL_HOST=mail.khananwarschool.edu.bd        # CHANGE
MAIL_PORT=465
MAIL_SCHEME=smtps
MAIL_USERNAME=noreply@khananwarschool.edu.bd # CHANGE
MAIL_PASSWORD=                               # CHANGE
MAIL_FROM_ADDRESS="noreply@khananwarschool.edu.bd"
MAIL_FROM_NAME="${APP_NAME}"

# Optional — AI features no-op with an "AI not configured" message when unset.
ANTHROPIC_API_KEY=
ANTHROPIC_MODEL=claude-sonnet-5

# SSLCommerz credentials are entered at /platform/settings/payments.

VITE_APP_NAME="${APP_NAME}"
