# ---------------------------------------------------------------------------
# Production — demo.itplcloud.in/ngo
# ---------------------------------------------------------------------------
# Two things to fill in on the server: the database user and password, and
# the MAIL_* block. Everything else is already set for this host. Never commit
# or share this file — APP_KEY below encrypts session cookies.

APP_NAME="Lalita Nand Memorial Pragya Foundation"
APP_ENV=production
APP_KEY=base64:u4cEzRE+ajqjLP2HJaSA4X3pQf9i5mnx78HdytKIZW0=
APP_DEBUG=false
APP_URL=https://demo.itplcloud.in/ngo

APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US

APP_MAINTENANCE_DRIVER=file

BCRYPT_ROUNDS=12

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

# ---------------------------------------------------------------------------
# Database — MySQL on this cPanel account
# ---------------------------------------------------------------------------
# The database itself already exists: inclusionetechno_lnmp_ngo. Its tables and
# content come from deploy/database.sql, imported through phpMyAdmin.
#
# THESE TWO LINES ARE THE ONLY ONES YOU MUST FILL IN. Create the user under
# cPanel -> MySQL Databases, grant it ALL PRIVILEGES on the database above,
# and put its name and password here. cPanel prefixes the user name the same
# way it prefixes the database, e.g. inclusionetechno_lnmp.
DB_USERNAME=
DB_PASSWORD=

DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=inclusionetechno_lnmp_ngo
DB_CHARSET=utf8mb4
DB_COLLATION=utf8mb4_unicode_ci

# File-based on purpose: keeps the database out of the request path entirely
# except for the two form submissions.
SESSION_DRIVER=file
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null
SESSION_SECURE_COOKIE=true

BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=sync
CACHE_STORE=file

# ---------------------------------------------------------------------------
# Mail
# ---------------------------------------------------------------------------
# `log` writes the donation and volunteer notifications into
# storage/logs/laravel-*.log instead of sending them — safe, and the forms
# keep working. Switch to the smtp block below once the mailbox exists.
MAIL_MAILER=log
MAIL_FROM_ADDRESS="lnmpragyafoundation@gmail.com"
MAIL_FROM_NAME="${APP_NAME}"

# MAIL_MAILER=smtp
# MAIL_HOST=mail.itplcloud.in
# MAIL_PORT=465
# MAIL_SCHEME=smtps
# MAIL_USERNAME=no-reply@itplcloud.in
# MAIL_PASSWORD="the mailbox password"
# MAIL_FROM_ADDRESS="no-reply@itplcloud.in"
# MAIL_FROM_NAME="${APP_NAME}"
