Skip to content

The next-generation alternative to XAMPP and Laragon with seamless service management and beautiful UI.

License

Notifications You must be signed in to change notification settings

ohmiler/localdevine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

142 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LocalDevine

LocalDevine Logo

A Modern Local Development Environment for Windows
The modern alternative to XAMPP and Laragon

Version Platform License Electron

Features β€’ Installation β€’ Usage β€’ Screenshots β€’ Documentation β€’ License


✨ Features

Core Features

  • πŸš€ 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

User Experience

  • 🎨 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

Advanced Features

  • πŸ“ 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

πŸ“‹ Requirements

  • Windows 10/11 (64-bit)
  • 4GB RAM minimum
  • 500MB free disk space
  • Administrator rights (for hosts file editing)

πŸ“¦ Installation

Option 1: Download Installer (Recommended)

  1. Download LocalDevine-Setup.exe from Releases
  2. 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.

  3. Choose installation location
  4. Done!

Option 2: Build from Source

# 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

πŸš€ Usage

Getting Started

  1. Open LocalDevine (Run as Administrator recommended for Virtual Hosts)
  2. Click Start on Apache and MariaDB
  3. Open Browser to http://localhost
  4. Start developing!

Create New Project

  1. Go to Projects β†’ Create New Project
  2. Choose Template (PHP Basic / HTML Basic)
  3. Enter project name
  4. Click Create
  5. Open http://localhost/project-name

Create Virtual Host

  1. Go to Virtual Hosts β†’ Add Virtual Host
  2. Enter name and domain (e.g., mysite.local)
  3. Choose project path
  4. Click Add
  5. Open http://mysite.local

Database Management

  1. Click πŸ—„οΈ Database button on main page
  2. Adminer will open in browser
  3. Login: root / root
  4. Manage databases instantly

SSL Certificates

  1. Go to SSL β†’ Generate Certificate
  2. Enter domain name (e.g., mysite.local)
  3. Certificate will be created and Apache config updated
  4. Restart Apache to apply HTTPS

Environment Variables

  1. Go to Environment β†’ Create New File
  2. Enter filename (e.g., .env)
  3. Add key-value pairs
  4. Save and use in your projects

πŸ“ Project Structure

localdevine/
β”œβ”€β”€ bin/                    # Apache, PHP, MariaDB binaries
β”‚   β”œβ”€β”€ apache/
β”‚   β”œβ”€β”€ php/
β”‚   └── mariadb/
β”œβ”€β”€ www/                    # Web root (ΰΉ‚ΰΈ›ΰΈ£ΰΉ€ΰΈˆΰΈ„ΰΈ‚ΰΈ­ΰΈ‡ΰΈ„ΰΈΈΰΈ“)
β”œβ”€β”€ electron/               # Electron main process
β”œβ”€β”€ src/                    # React UI
└── config.json             # Application config

πŸ“‚ File Locations (After Installation)

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

πŸ“ Quick Access Folders

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

βš™οΈ Configuration

Default Ports

Service Default Port
Apache 80
MariaDB 3306
PHP 9000

Database Credentials

  • Host: 127.0.0.1
  • User: root
  • Password: root

πŸ”§ Troubleshooting

Apache doesn't start

  • Check if port 80 is not in use
  • Try Stop and Start again
  • Check Console logs

Virtual Host doesn't work

  • Run LocalDevine as Administrator
  • Check if domain exists in hosts file
  • Restart Apache after adding Virtual Host

MariaDB doesn't start

  • Check if port 3306 is not in use
  • Delete bin/mariadb/data/*.pid files and try again

Can't access Bin Folder

  • Go to Settings β†’ Quick Access β†’ βš™οΈ Bin Folder
  • In production, Bin folder is in Program Files
  • Use Quick Access buttons for easy navigation

πŸ› οΈ Built With

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

πŸ“Š Technical Details

  • 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

πŸ“ License

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.

🚫 Contributing

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!

πŸ“§ Contact


Made with ❀️ by Miler

About

The next-generation alternative to XAMPP and Laragon with seamless service management and beautiful UI.

Resources

License

Stars

Watchers

Forks

Packages

No packages published