⚙️ Configuration
Learn how to configure EasySign for your needs.
Environment Variables (.env)
All sensitive configuration is stored in the .env file in the root
directory.
| Variable | Description | Example |
|---|---|---|
DB_HOST |
Database server hostname | localhost |
DB_NAME |
Database name | easysign |
DB_USER |
Database username | easysign_user |
DB_PASS |
Database password | your_password |
ENCRYPTION_KEY |
64-char hex key for AES-256 | 7f8e9d1c2b3a4f5e... |
APP_ENV |
Environment mode | production / development |
APP_DEBUG |
Show detailed errors | false (production) |
PayPal Configuration
| Variable | Description |
|---|---|
PAYPAL_CLIENT_ID |
PayPal API Client ID |
PAYPAL_CLIENT_SECRET |
PayPal API Secret |
PAYPAL_MODE |
sandbox or live |
PAYPAL_WEBHOOK_ID |
PayPal Webhook ID for notifications |
Admin Panel Settings
Most settings are configured through the Admin Panel:
Global Settings
Navigate to Admin Panel → Global Settings:
- App Name - Your application's name
- Logo - Upload your logo (PNG/SVG)
- Favicon - Browser tab icon
- Support Link - Help/support URL
- Brand Color - Primary color theme
SMTP Email Settings
Configure email notifications:
- SMTP Host - Mail server (e.g., smtp.gmail.com)
- SMTP Port - Usually 587 (TLS) or 465 (SSL)
- SMTP Security - TLS or SSL
- SMTP Username - Your email address
- SMTP Password - App password or mail password
- From Email - Sender email address
Security Settings
Navigate to Admin Panel → Security Settings:
- Max Login Attempts - Before temporary block
- Block Duration - Minutes to block after failed attempts
- Session Timeout - Auto-logout after inactivity
- Password Minimum Length
- Password Complexity - Weak/Medium/Strong
- MFA Enforcement - Require two-factor authentication
Subscription Pricing
Configure plan pricing in Admin Panel → Subscriptions:
// Default pricing structure
Free: $0/month - 10 documents
Pro: $29/month - 150 documents
Enterprise: $100/month - Unlimited + API
Branding Customization
Logo
Upload your logo through Admin Panel → Global Settings. Recommended size: 200x50px PNG with transparent background.
Colors
The brand color affects buttons, links, and accent colors throughout the application.
Custom CSS
For advanced customization, edit assets/css/custom.css (create if it
doesn't exist).
Email Templates
Email templates are located in includes/email_templates/:
signing_request.php- Sent to signerscompleted.php- Document completion notificationreminder.php- Signing reminderwelcome.php- New user welcome
File Upload Limits
Configure in Admin Panel → Global Settings:
- Max Upload Size - Default: 50MB
- Allowed File Types - Default: PDF only
php.ini allows large uploads:
upload_max_filesize = 50M
post_max_size = 50M
max_execution_time = 300