A modern, feature-rich dashboard for Laragon development environment with advanced email management, server monitoring, and security features.
- Bootstrap 5 Interface - Professional, responsive design
- Interactive Statistics - Real-time email metrics and analytics
- Advanced Search - Filter emails by sender, subject, or content
- Email Cards - Beautiful hover effects and smooth animations
- Modal Viewer - Enhanced email reading experience
- Bulk Operations - Mass email management capabilities
- Keyboard Shortcuts - Improved accessibility and productivity
- Real-time Vitals - CPU, memory, and disk usage monitoring
- Visual Charts - Interactive charts using Chart.js
- Windows Compatible - Optimized for Windows/Laragon environment
- PHP Memory Tracking - Monitor PHP memory usage and limits
- Multi-drive Support - Track disk usage across all drives
- CSRF Protection - Secure token-based protection
- Security Headers - Comprehensive HTTP security headers
- Rate Limiting - Prevent abuse and brute force attacks
- Input Sanitization - XSS and injection protection
- Secure Sessions - HTTPOnly and secure cookie settings
- Content Security Policy - Advanced CSP implementation
- Caching System - File-based caching with TTL support
- Performance Monitoring - Execution time and memory tracking
- Comprehensive Logging - Multi-level logging system
- Error Handling - Graceful error management
- Database Integration - PDO-based database helpers
- English, German, Spanish, French, Indonesian, Portuguese, Tagalog
- Easy language switching
- Consistent translation system
- Laragon development environment
- PHP 7.4+ with required extensions:
jsonmbstringopensslpdo_mysql
- MySQL/MariaDB server
- Web server (Apache/Nginx)
-
Clone or Download
git clone https://github.com/your-repo/laragon-dashboard.git # or download and extract to your Laragon www directory -
Configure Environment
# Copy and modify configuration cp config.php config.local.php # Edit config.local.php with your settings
-
Set Permissions
# Create required directories mkdir -p logs cache chmod 755 logs cache -
Access Dashboard
http://localhost/Laragon-Dashboard/
Edit config.php to customize your setup:
// Database Configuration
define('MYSQL_HOST', 'localhost');
define('MYSQL_USER', 'root');
define('MYSQL_PASSWORD', '');
// Application Settings
define('APP_NAME', 'Laragon Dashboard');
define('APP_VERSION', '2.5.0');
define('APP_DEBUG', false);
// Security Settings
define('SESSION_TIMEOUT', 3600);
define('MAX_LOGIN_ATTEMPTS', 5);
// Email Configuration
define('SENDMAIL_OUTPUT_DIR', 'C:/laragon/bin/sendmail/output/');
define('DOMAIN_SUFFIX', '.local');Laragon-Dashboard/
βββ assets/
β βββ languages/ # Translation files
β βββ inbox/ # Email client interface
β βββ favicon/ # Favicon files
β βββ style.css # Main stylesheet
βββ includes/ # Helper classes
β βββ logger.php # Logging system
β βββ security.php # Security helpers
β βββ database.php # Database utilities
β βββ cache.php # Caching system
βββ logs/ # Application logs
βββ cache/ # Cache files
βββ config.php # Main configuration
βββ index.php # Main dashboard
βββ server_vitals.php # Server monitoring API
βββ project_search.php # Project search API
βββ CHANGELOG.md # Version history
βββ .gitignore # Git ignore rules
βββ README.md # This file
The main dashboard provides:
- Server Information - PHP version, MySQL status, web server details
- Project Management - List and manage your development projects
- Framework Detection - Automatic detection of WordPress, Laravel, Drupal, etc.
- Quick Access - Direct links to project admin panels
Access the email client via the "Mailbox" tab:
- View Statistics - Total emails, daily/weekly counts, unique senders
- Search & Filter - Find emails quickly with advanced search
- Read Emails - Click any email to view full content
- Manage Emails - Delete individual or bulk emails
- Export Options - Download email data
Monitor your server via the "Server Vitals" tab:
- Real-time Charts - Visual representation of system metrics
- Memory Usage - Track PHP and system memory consumption
- Disk Space - Monitor disk usage across all drives
- Performance Metrics - Page load times and execution statistics
GET /server_vitals.php
Returns JSON with server statistics:
{
"uptime": "2 days, 5 hours, 30 minutes",
"memoryUsage": "45.2%",
"diskUsage": [...],
"phpMemory": {
"current": 2097152,
"peak": 4194304,
"limit": "512M"
}
}GET /project_search.php?q=search_term
Returns filtered project list based on search query.
- CSRF Protection - All forms protected with CSRF tokens
- XSS Prevention - All user inputs sanitized
- SQL Injection Protection - Prepared statements used throughout
- Rate Limiting - Prevents brute force attacks
- Secure Headers - Comprehensive HTTP security headers
- File Upload Security - Restricted file types and sizes
X-Frame-Options: DENYX-Content-Type-Options: nosniffX-XSS-Protection: 1; mode=blockStrict-Transport-Security(HTTPS only)Content-Security-PolicyReferrer-Policy: strict-origin-when-cross-origin
The dashboard uses Bootstrap 5 with custom CSS. Key customization points:
/* Main color scheme */
:root {
--primary-color: #0d6efd;
--secondary-color: #6c757d;
--success-color: #198754;
--danger-color: #dc3545;
--warning-color: #ffc107;
--info-color: #0dcaf0;
}Add new languages by creating JSON files in assets/languages/:
{
"title": "Welcome to the Laragon Dashboard",
"header": "My Development Server",
"servers_tab": "Servers",
"inbox_tab": "Mailbox",
"vitals_tab": "Server's Vitals"
}Email not loading:
- Check
SENDMAIL_OUTPUT_DIRpath in config.php - Ensure directory exists and is readable
- Verify Laragon sendmail configuration
Server vitals not working:
- Ensure PHP has necessary permissions
- Check if required PHP extensions are loaded
- Verify disk paths are accessible
Database connection issues:
- Verify MySQL credentials in config.php
- Ensure MySQL service is running
- Check firewall settings
Performance issues:
- Enable caching in config.php
- Check log files for errors
- Monitor memory usage
Enable debug mode in config.php:
define('APP_DEBUG', true);This will show:
- Detailed error messages
- Performance metrics
- Debug information in footer
- File-based Caching - Reduces database queries
- Lazy Loading - Loads content as needed
- Minified Assets - Optimized CSS and JavaScript
- Compressed Responses - Reduced bandwidth usage
- Database Connection Pooling - Efficient database usage
- Execution Time Tracking - Monitor page load times
- Memory Usage Monitoring - Track memory consumption
- Cache Statistics - Monitor cache hit rates
- Error Logging - Track and analyze errors
We welcome contributions! Please see our Contributing Guidelines for details.
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
- Follow PSR-12 coding standards
- Add comprehensive comments
- Include error handling
- Test on multiple PHP versions
This project is licensed under the MIT License - see the LICENSE file for details.
- Laragon Team - For the excellent development environment
- Bootstrap Team - For the amazing CSS framework
- Chart.js Team - For the beautiful charting library
- Contributors - All the amazing people who contributed to this project
- Documentation - Check this README and inline comments
- Issues - Report bugs via GitHub Issues
- Discussions - Join our GitHub Discussions
- Email - Contact the maintainer
See CHANGELOG.md for detailed version history.
Made with β€οΈ for the Laragon community