Environment Variables Reference
Below is a description of the environment variables used in LinkDrop:
Application Settings
APP_NAME: The name of your application (default: "LinkDrop")APP_ENV: Application environment (local, production, staging, etc.)APP_KEY: Encryption key for your application (auto-generated)APP_DEBUG: Enables debugging mode when set to true (set to false in production)APP_TIMEZONE: Sets the application timezoneAPP_URL: The base URL for your application
Localization
APP_LOCALE: Default language for your applicationAPP_FALLBACK_LOCALE: Fallback language if the primary is unavailableAPP_FAKER_LOCALE: Locale setting for generating fake data
Maintenance
APP_MAINTENANCE_DRIVER: Storage driver for maintenance modePHP_CLI_SERVER_WORKERS: Number of PHP CLI server workersBCRYPT_ROUNDS: Security rounds for password hashing (higher is more secure but slower)
Logging
LOG_CHANNEL: How logs are stored (daily, single, etc.)LOG_STACK: Combined logging channelsLOG_DEPRECATIONS_CHANNEL: Channel for deprecation warningsLOG_LEVEL: Minimum log level to record (debug, info, warning, error)
Database
DB_CONNECTION: Database driver (mysql, pgsql, sqlite)DB_HOST: Database server hostDB_PORT: Database server portDB_DATABASE: Database nameDB_USERNAME: Database usernameDB_PASSWORD: Database password
Session
SESSION_DRIVER: Where session data is storedSESSION_LIFETIME: Session timeout in minutesSESSION_ENCRYPT: Whether to encrypt session dataSESSION_PATH: Cookie path for sessionsSESSION_DOMAIN: Domain for session cookies
Services
BROADCAST_CONNECTION: Broadcasting connection for real-time eventsFILESYSTEM_DISK: Default storage diskQUEUE_CONNECTION: Queue system for background processingCACHE_STORE: Where cache data is storedCACHE_PREFIX: Prefix for cache keys
External Services
MEMCACHED_HOST: Memcached server addressREDIS_CLIENT: Redis client libraryREDIS_HOST: Redis server addressREDIS_PASSWORD: Redis server passwordREDIS_PORT: Redis server port
MAIL_MAILER: Mail sending driverMAIL_HOST: Mail server hostMAIL_PORT: Mail server portMAIL_USERNAME: Mail server usernameMAIL_PASSWORD: Mail server passwordMAIL_ENCRYPTION: Mail encryption methodMAIL_FROM_ADDRESS: Default sender email addressMAIL_FROM_NAME: Default sender name
AWS
AWS_ACCESS_KEY_ID: AWS access keyAWS_SECRET_ACCESS_KEY: AWS secret keyAWS_DEFAULT_REGION: AWS regionAWS_BUCKET: AWS S3 bucket nameAWS_USE_PATH_STYLE_ENDPOINT: Use path-style S3 endpoints
Vite
VITE_APP_NAME: Application name for Vite
Payment Processing
STRIPE_KEY: Stripe publishable keySTRIPE_SECRET: Stripe secret keySTRIPE_WEBHOOK_SECRET: Secret for validating Stripe webhooks
Authentication
GOOGLE_CLIENT_ID: Google OAuth client IDGOOGLE_CLIENT_SECRET: Google OAuth client secretGOOGLE_REDIRECT_URI: Redirect URL after Google authentication