-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
132 lines (111 loc) · 2.84 KB
/
env.example
File metadata and controls
132 lines (111 loc) · 2.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# Plugin Environment Configuration
# Copy this file to .env and update the values according to your needs
# Plugin Basic Settings
PLUGIN_NAME="Your Plugin Name"
PLUGIN_SLUG="your-plugin-name"
PLUGIN_VERSION="1.0.0"
PLUGIN_DEBUG_MODE=false
PLUGIN_LOG_LEVEL="error"
# Database Settings
DB_HOST="localhost"
DB_NAME="wordpress"
DB_USER="wp_user"
DB_PASSWORD="wp_password"
DB_CHARSET="utf8mb4"
DB_COLLATE="utf8mb4_unicode_ci"
# Cache Settings
CACHE_ENABLED=true
CACHE_EXPIRATION=3600
CACHE_GROUP="your_plugin_cache"
# Security Settings
SECURITY_RATE_LIMITING=true
SECURITY_RATE_LIMIT_REQUESTS=100
SECURITY_RATE_LIMIT_WINDOW=3600
SECURITY_CSRF_PROTECTION=true
SECURITY_XSS_PROTECTION=true
SECURITY_SQL_INJECTION_PROTECTION=true
# Performance Settings
PERFORMANCE_CACHING=true
PERFORMANCE_MINIFICATION=true
PERFORMANCE_COMPRESSION=true
PERFORMANCE_LAZY_LOADING=true
# API Settings
API_ENABLED=true
API_VERSION="v1"
API_NAMESPACE="your-plugin/v1"
API_RATE_LIMIT=100
API_RATE_LIMIT_WINDOW=3600
# Email Settings
EMAIL_FROM_NAME="Your Plugin"
EMAIL_FROM_ADDRESS="noreply@your-domain.com"
EMAIL_SMTP_HOST=""
EMAIL_SMTP_PORT=""
EMAIL_SMTP_USERNAME=""
EMAIL_SMTP_PASSWORD=""
EMAIL_SMTP_ENCRYPTION="tls"
# External Services
# WooCommerce Integration
WOOCOMMERCE_ENABLED=false
WOOCOMMERCE_API_URL=""
WOOCOMMERCE_CONSUMER_KEY=""
WOOCOMMERCE_CONSUMER_SECRET=""
# Advanced Custom Fields Integration
ACF_ENABLED=false
ACF_VERSION="5.0"
# Elementor Integration
ELEMENTOR_ENABLED=false
ELEMENTOR_VERSION="3.0"
# Telegram Integration
TELEGRAM_ENABLED=false
TELEGRAM_BOT_TOKEN=""
TELEGRAM_CHAT_ID=""
# Slack Integration
SLACK_ENABLED=false
SLACK_WEBHOOK_URL=""
SLACK_CHANNEL="#general"
# Discord Integration
DISCORD_ENABLED=false
DISCORD_WEBHOOK_URL=""
DISCORD_USERNAME="Your Plugin Bot"
# Analytics Settings
ANALYTICS_ENABLED=false
ANALYTICS_TRACKING_ID=""
ANALYTICS_ANONYMIZE_IP=true
ANALYTICS_RESPECT_DNT=true
# Backup Settings
BACKUP_ENABLED=false
BACKUP_AUTO_BACKUP=false
BACKUP_INTERVAL="daily"
BACKUP_RETENTION=7
BACKUP_LOCATION="local"
# Development Settings
DEV_MODE=false
DEV_DEBUG_BAR=false
DEV_LOG_QUERIES=false
DEV_PROFILE_PERFORMANCE=false
DEV_CACHE_DEBUG=false
# Localization Settings
LOCALIZATION_TEXT_DOMAIN="your-plugin-name"
LOCALIZATION_DOMAIN_PATH="/languages"
LOCALIZATION_DEFAULT_LOCALE="en_US"
LOCALIZATION_SUPPORTED_LOCALES="en_US,es_ES,fr_FR,de_DE,it_IT,pt_BR"
# Testing Settings
TESTING_ENABLED=false
TESTING_DATABASE_PREFIX="test_"
TESTING_CLEANUP_AFTER_TESTS=true
# Logging Settings
LOGGING_ENABLED=true
LOGGING_LEVEL="error"
LOGGING_FILE_PATH="logs/"
LOGGING_MAX_FILES=10
LOGGING_MAX_FILE_SIZE=10485760
# Monitoring Settings
MONITORING_ENABLED=false
MONITORING_HEALTH_CHECK_INTERVAL=300
MONITORING_ALERT_EMAIL="admin@your-domain.com"
MONITORING_SLACK_WEBHOOK=""
# Custom Settings
# Add your custom environment variables below
CUSTOM_SETTING_1=""
CUSTOM_SETTING_2=""
CUSTOM_SETTING_3=""