Environment Configuration
The .env file is the primary configuration file for CreateCouponWebsite. It controls database connections, mail settings, caching, and more.
Application Settings
APP_NAME="CreateCouponWebsite"
APP_ENV=production
APP_KEY=base64:your-generated-key
APP_DEBUG=false
APP_URL=https://your-domain.com
APP_DEBUG=true in production. It can expose sensitive information.Database Configuration
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=couponsite
DB_USERNAME=root
DB_PASSWORD=secret
Cache & Session
CACHE_DRIVER=redis
SESSION_DRIVER=redis
QUEUE_CONNECTION=redis
database or file drivers.Mail Configuration
MAIL_MAILER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=587
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=noreply@your-domain.com
Affiliate Network Keys
CJ_API_KEY=your-cj-api-key
AWIN_API_KEY=your-awin-api-key
IMPACT_API_KEY=your-impact-api-key
ADMITAD_API_KEY=your-admitad-api-key