# Copy this file to .env, fill it in, then run: php artisan key:generate
# Never upload .env to a public place.

APP_NAME="Normsefo Store"
APP_ENV=local
APP_KEY=base64:u8JAUWtKt+wTi9Qm9x2DzQYVjmthyo2xplWa5bEtNWI=
APP_DEBUG=true
APP_URL=//127.0.0.1:8000
APP_TIMEZONE=Africa/Lagos

LOG_CHANNEL=daily
LOG_LEVEL=warning

# Database. Use the SAME MySQL database as the plain-PHP store: the first migration
# recognises the existing tables and keeps all products, orders and staff.
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=normsefo
DB_USERNAME=root
DB_PASSWORD=""
# For a quick local test instead: DB_CONNECTION=sqlite and DB_DATABASE=/full/path/to/database.sqlite

# Files on disk: no extra database tables needed for sessions, cache or queues.
SESSION_DRIVER=file
SESSION_LIFETIME=120
SESSION_SECURE_COOKIE=true
CACHE_STORE=file
QUEUE_CONNECTION=sync

# Paystack keys (Dashboard > Settings > API Keys). Use the TEST secret key first (sk_test_...).
# Leave empty to switch Paystack off. The secret key stays on the server.
PAYSTACK_SECRET_KEY=

# Set to 1 only if the site sits behind Cloudflare or an HTTPS proxy.
TRUST_PROXY=0

# ---- Email ----
# On cPanel the sendmail mailer works out of the box. Use an address on your own domain.
MAIL_MAILER=sendmail
MAIL_FROM=orders@normsefo.com
MAIL_FROM_ADDRESS=orders@normsefo.com
MAIL_ENABLED=1
# Where new-request and technician alerts go (defaults to the store email in Settings, then MAIL_FROM)
MAIL_ADMIN_TO=

# ---- SMS: termii (recommended for Nigerian numbers) or twilio. Empty = SMS off. ----
SMS_PROVIDER=
TERMII_API_KEY=
TERMII_SENDER_ID=
# generic, dnd or whatsapp. Use dnd if messages to Do-Not-Disturb numbers do not arrive.
SMS_CHANNEL=generic
TWILIO_SID=
TWILIO_TOKEN=
TWILIO_FROM=

# Optional: your phone for SMS alerts about technician jobs (needs an SMS provider above).
ADMIN_PHONE=
