A Modern Local Development Environment for Windows
The modern alternative to XAMPP and Laragon
Features β’ Installation β’ Usage β’ Screenshots β’ Documentation β’ License
- π One-Click Start - Start Apache, PHP, MariaDB with a single click
- π Project Templates - Create PHP/HTML projects instantly
- π Virtual Hosts - Manage local domains (.local, .test) easily
- ποΈ Database Management - Access Adminer for database operations
- βοΈ Port Configuration - Configure Apache, MariaDB ports as needed
- π¨ Modern UI - Beautiful interface built with React + TailwindCSS
- π Dark/Light Theme - Toggle between dark and light modes
- β¨οΈ Keyboard Shortcuts - Quick access with Ctrl+S (Start All), Ctrl+T (Stop All)
- π Health Monitoring - Real-time service health checks with notifications
- π Hosts File Editor - Edit hosts file without opening Notepad (requires Admin)
- π SSL Certificate Manager - Create self-signed certificates for HTTPS
- π Environment Variables - Manage .env files for projects
- π Quick Access - Easy access to bin, config, www, and logs folders
- π Auto Updater - Check for updates from GitHub automatically
- Windows 10/11 (64-bit)
- 4GB RAM minimum
- 500MB free disk space
- Administrator rights (for hosts file editing)
- Download
LocalDevine-Setup.exefrom Releases - Run the installer
β οΈ Windows SmartScreen Warning: If you see "Windows protected your PC", click "More info" β "Run anyway". This is normal for new applications without a code signing certificate. - Choose installation location
- Done!
# Clone repository
git clone https://github.com/ohmiler/localdevine.git
cd localdevine
# Install dependencies
npm install
# Build application
npm run build
npm run build:electron
# Run in development mode
npm run electron:dev
# Build installer
npm run electron:build- Open LocalDevine (Run as Administrator recommended for Virtual Hosts)
- Click Start on Apache and MariaDB
- Open Browser to
http://localhost - Start developing!
- Go to Projects β Create New Project
- Choose Template (PHP Basic / HTML Basic)
- Enter project name
- Click Create
- Open
http://localhost/project-name
- Go to Virtual Hosts β Add Virtual Host
- Enter name and domain (e.g.,
mysite.local) - Choose project path
- Click Add
- Open
http://mysite.local
- Click ποΈ Database button on main page
- Adminer will open in browser
- Login:
root/root - Manage databases instantly
- Go to SSL β Generate Certificate
- Enter domain name (e.g.,
mysite.local) - Certificate will be created and Apache config updated
- Restart Apache to apply HTTPS
- Go to Environment β Create New File
- Enter filename (e.g.,
.env) - Add key-value pairs
- Save and use in your projects
localdevine/
βββ bin/ # Apache, PHP, MariaDB binaries
β βββ apache/
β βββ php/
β βββ mariadb/
βββ www/ # Web root (ΰΉΰΈΰΈ£ΰΉΰΈΰΈΰΈΰΈΰΈΰΈΰΈΈΰΈ)
βββ electron/ # Electron main process
βββ src/ # React UI
βββ config.json # Application config
| Folder | Windows Location | Purpose |
|---|---|---|
| WWW | C:\LocalDevine\www |
Your projects |
| Config | C:\LocalDevine\config |
php.ini, httpd.conf |
| Data | C:\LocalDevine\data |
MariaDB data |
| Logs | %APPDATA%\LocalDevine\logs |
Application logs |
| Bin | C:\Program Files\LocalDevine\resources\app.asar.unpacked\bin |
Apache, PHP, MariaDB |
In Settings β Quick Access, you can easily access important folders:
- βοΈ Bin Folder - Apache, PHP, MariaDB executables (for adding PHP extensions)
- π Config Folder - Editable config files (php.ini, httpd.conf)
- π WWW Folder | Your projects
- π Logs Folder | Application logs for debugging
| Service | Default Port |
|---|---|
| Apache | 80 |
| MariaDB | 3306 |
| PHP | 9000 |
- Host: 127.0.0.1
- User: root
- Password: root
- Check if port 80 is not in use
- Try Stop and Start again
- Check Console logs
- Run LocalDevine as Administrator
- Check if domain exists in hosts file
- Restart Apache after adding Virtual Host
- Check if port 3306 is not in use
- Delete
bin/mariadb/data/*.pidfiles and try again
- Go to Settings β Quick Access β βοΈ Bin Folder
- In production, Bin folder is in Program Files
- Use Quick Access buttons for easy navigation
| Component | Version | Description |
|---|---|---|
| Electron | 39.x | Desktop framework |
| React | 19.x | UI library |
| TailwindCSS | 4.x | CSS framework |
| TypeScript | 5.x | Type safety |
| Apache | 2.4 | Web server |
| PHP | 8.x | PHP runtime |
| MariaDB | 11.x | Database server |
| Adminer | Latest | Database management |
- Language: TypeScript with strict type checking
- Architecture: Electron with context isolation and secure IPC
- Security: Content Security Policy, input validation
- Code Quality: ESLint + Prettier
- Installer Size: ~165 MB
- Installed Size: ~792 MB
MIT License - Free for personal and commercial use
Important:
- β You can use this program for commercial work (e.g., client projects, company use)
- β You can modify, distribute, and include in your projects
β οΈ Warning: Do not sell this program as a product or distribute for a fee
See LICENSE file for full terms.
This project does not accept contributions.
This is a personal project maintained by the author. While the source code is available for learning and reference, we are not accepting pull requests, feature requests, or code contributions at this time.
If you find a bug, please open an issue to report it. Thank you for understanding!
- GitHub: @ohmiler
- Issues: Report Bug
Made with β€οΈ by Miler