A lightweight, portable local web server and database development environment for Windows, built with Flutter. DevlikaStack bundles a multi-engine web server (Native HTTP, Nginx, Apache), a multi-version PHP FastCGI daemon pool, MariaDB, phpMyAdmin, and 1-click Cloudflare Quick Tunnel into a single portable package without requiring Windows registry modifications or heavy virtualization layers.
DevlikaStack offers three switchable web server engines managed directly from the dashboard:
- Native HTTP Engine: A built-in Dart-based web server listening on port 80. Includes an integrated
.htaccessparser for URL rewrites (fully compatible with Laravel, CodeIgniter, WordPress, and Single Page Applications), Keep-Alive persistent connection pooling, and in-memory static file caching for sub-millisecond asset delivery. - Nginx 1.26: Portable Nginx engine with automated virtual host configuration generation (
conf/vhosts/*.conf). - Apache HTTPD 2.4: Portable Apache engine for projects requiring specific Apache modules or traditional
.htaccessworkflows.
Engine switching releases existing socket bindings on port 80 before initializing the selected engine to prevent port collision.
Unlike traditional local stacks that enforce a single global PHP version:
- Run multiple PHP versions concurrently (PHP 7.4, 8.1, 8.2, and 8.3).
- Assign specific PHP runtimes per virtual host or project.
- FastCGI daemon communication runs via dedicated TCP ports with multi-worker concurrency pools:
- PHP 7.4: primary port
9074(multi-worker pool:9074..9374) - PHP 8.1: primary port
9081(multi-worker pool:9081..9381) - PHP 8.2: primary port
9082(multi-worker pool:9082..9382) - PHP 8.3: primary port
9083(multi-worker pool:9083..9383) - Default fallback: primary port
9000(multi-worker pool:9000..9003)
- PHP 7.4: primary port
- Multi-worker pools and OPcache pre-compilation eliminate per-request process spawn overhead and ensure instantaneous response times.
- MariaDB 3306: Local database service configured with dual-stack loopback binding (
127.0.0.1and::1), 64MB query cache, and--skip-name-resolveto eliminate Windows IPv6/localhost DNS resolution delays. Default credentials: userroot, no password. - Integrated phpMyAdmin: Accessible via
http://localhost/__phpmyadminwith automated authentication to the local database instance. - Turbo SQL Importer: High-throughput SQL dump importer utilizing chunked transaction buffering, enabling multi-hundred-megabyte database imports without memory exhaustion or script timeouts.
- Add custom local domains (e.g.
demo.local,siakad.id). - Automatically synchronizes with the Windows
hostsfile (C:\Windows\System32\drivers\etc\hosts) using dual IPv4 (127.0.0.1) and IPv6 (::1) mapping to bypass external DNS lookups. - Automatic DocumentRoot detection: intelligently identifies
public/index.php(Laravel) orpublic_html/index.php(CodeIgniter/traditional layouts). - Reverse Proxy: Forward local domain traffic to external backend services (Node.js, Go, Python, etc.) running on custom local ports.
- Instant Client Previews: Share any local virtual host or custom local port directly to the internet with a single click.
- Valid Official HTTPS Certificate: Powered by Cloudflare Anycast edge, ensuring clients never see browser security or certificate warnings.
- Zero Configuration: Uses Cloudflare Quick Tunnels — no account creation, credit card, or auth tokens required. 100% free and unlimited bandwidth.
- Virtual Host Preservation: Automatically routes with
--http-host-header, ensuring Nginx, Apache, and Native HTTP engines route requests to the correct virtual host. - Auto-Reconnect: If the free tunnel drops unexpectedly, DevlikaStack automatically reconnects with exponential backoff (up to 5 attempts). Configurable via toggle switch.
- Automated Binary Provisioning: Downloads official
cloudflaredbinary on-demand (~55 MB) directly intobin/tools/with in-app download progress.
- Low RAM & Non-VM: Runs natively on Windows without Docker Desktop, WSL2, or virtual machine overhead, preserving system RAM for IDEs and compilers.
- Minimal Idle Footprint: Near-zero idle CPU and memory consumption; services only consume processing cycles when handling active requests.
- Self-Contained & Portable: All PHP binaries, MariaDB data, web engines, and configuration files live inside the application directory (
bin/andstorage/). No Windows registry keys are altered. - System Tray Integration: Minimizes to the Windows system tray for background operation while monitoring service statuses.
| Service | Default Port | Description |
|---|---|---|
| HTTP Web Server | 80 |
Native HTTP / Nginx / Apache |
| MariaDB | 3306 |
User: root, Password: (empty) |
| phpMyAdmin | 80 |
Accessible via http://localhost/__phpmyadmin |
| FastCGI PHP 7.4 | 9074 |
Multi-worker parallel pool |
| FastCGI PHP 8.1 | 9081 |
Multi-worker parallel pool |
| FastCGI PHP 8.2 | 9082 |
Multi-worker parallel pool |
| FastCGI PHP 8.3 | 9083 |
Multi-worker parallel pool |
- Flutter SDK (3.12 or newer)
- Visual Studio with the Desktop development with C++ workload
- Windows 10/11 64-bit
# Fetch dependencies
flutter pub get
# Run test suite
flutter test
# Compile release executable
flutter build windows --release