# ---------------------------------------------------------------------------
# Laravel CMS Admin Kit â€” environment configuration
# Copy to .env, then run: php artisan key:generate
# ---------------------------------------------------------------------------

# Site name used for mail "from" name and as a fallback before settings exist.
APP_NAME="Knockout Roofs & Power"
# local | staging | production
APP_ENV=local
# Generated by "php artisan key:generate". Also encrypts sensitive settings â€”
# changing it makes stored secrets (e.g. SMTP passwords in settings) unreadable.
APP_KEY=base64:mIw9Fk5J9mtMhmVX335x4giPGvVOUduAv++/Lru8Nbw=
# Shows full error details (file paths, code, queries) when true: turn it on
# only on your own computer, never on a live site. (Production ignores it.)
APP_DEBUG=false
# Full public URL including any sub-folder, no trailing slash:
#   https://example.com   or   https://example.com/my-site
# Every link, asset and upload URL is built from this.
APP_URL=http://localhost/kockout

# Language and timezone.
APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US
APP_TIMEZONE=UTC

# file = maintenance mode stored on disk ("php artisan down").
APP_MAINTENANCE_DRIVER=file
# Password hashing cost.
BCRYPT_ROUNDS=12

# Logs go to storage/logs. "daily" keeps one file per day.
LOG_CHANNEL=stack
LOG_STACK=daily
LOG_DEPRECATIONS_CHANNEL=null
# debug locally, warning (or error) in production.
LOG_LEVEL=debug

# ---------------------------------------------------------------- Database
# mysql works for MySQL and MariaDB. MAMP default: port 8889, root / root.
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=kockout
DB_USERNAME=root
DB_PASSWORD=

# ---------------------------------------------------------------- Sessions & cache
# database = sessions stored in the "sessions" table (works on shared hosting).
SESSION_DRIVER=database
# Minutes before an idle admin is logged out.
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
# Leave "/" â€” sub-folder installs still work.
SESSION_PATH=/
SESSION_DOMAIN=null
# Leave unset: the session cookie is then marked Secure automatically on
# https. Set true to force it; never false on a live https site.
# SESSION_SECURE_COOKIE=

BROADCAST_CONNECTION=log
# Default Laravel disk for internal files (exports, temp). Not used for media.
FILESYSTEM_DISK=local
# file | database | redis â€” "file" is fine for most sites.
CACHE_STORE=file
# CACHE_PREFIX=

# sync     = mail is sent right after the response (works everywhere, no cron).
# database = mail is queued; requires the cron job/worker described in README.
QUEUE_CONNECTION=sync

# Only when behind a load balancer / Cloudflare: comma list of the proxies'
# IPs / CIDR ranges. Avoid *: it lets visitors fake their IP address.
# TRUSTED_PROXIES=

# ---------------------------------------------------------------- Media library
# uploads = public/uploads (no storage:link needed, works on shared hosting)
# s3      = S3 or S3-compatible storage, configure the AWS_* values below.
MEDIA_DISK=uploads
# Maximum upload size in KB (PHP upload_max_filesize must allow it too).
MEDIA_MAX_KB=5120

# ---------------------------------------------------------------- Mail
# Local development: MAIL_MAILER=log writes emails to storage/logs/laravel.log,
# or use Mailpit (smtp, 127.0.0.1, port 1025).
MAIL_MAILER=log
# null | smtps (use smtps for port 465)
MAIL_SCHEME=null
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
# Sender address for all site emails. Use an address on the site's domain.
MAIL_FROM_ADDRESS="no-reply@example.com"
MAIL_FROM_NAME="${APP_NAME}"
# Who RECEIVES enquiries is set in Admin â†’ Settings â†’ Email notifications.

# ---------------------------------------------------------------- Admin
# URL prefix of the admin panel: ADMIN_PATH=admin => https://example.com/admin
ADMIN_PATH=admin
# First Super Admin, created by "php artisan migrate --seed" if missing.
# Leave ADMIN_PASSWORD empty to have a random password generated and printed.
# If you set one, delete it from .env once the account exists.
ADMIN_NAME="Super Admin"
ADMIN_EMAIL=main@yopmail.com
ADMIN_PASSWORD=12345678

# ---------------------------------------------------------------- Optional S3 storage (MEDIA_DISK=s3)
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
# Public URL of the bucket/CDN, e.g. https://cdn.example.com
AWS_URL=
# Only for S3-compatible services (DigitalOcean Spaces, Wasabi, MinIO...)
AWS_ENDPOINT=
AWS_USE_PATH_STYLE_ENDPOINT=false
