Menu

1 / 7

I built Locarust: a free, open-source Laragon/XAMPP alternative for Windows, written in Rust

DEV Community: php·Ali Çömez | Slaweally·1 day ago
#noAlnDjq
#devto#dev#locarust#server#windows
Long article (1894 words) — no AI summary yet.
Reading 0:00
15s threshold

If you write PHP on Windows, you have probably used XAMPP, WAMP or Laragon. They work, until they don't: a MySQL data folder that won't start after Windows was shut down mid-write, a php.ini edited three years ago that nobody remembers, a port 80 taken by something you can't name, or one project that needs PHP 7.4 while everything else is on 8.x.

Locarust is my answer to that. It's a local development environment for Windows: nginx or Apache, PHP 7.4 to 8.5, MySQL/MariaDB, PostgreSQL, Redis, Memcached and Mailpit, managed from one small window. It's free, MIT-licensed, and written in Rust (Tauri v2). Stability was the first requirement; features came second.

Download: github.com/Megabre/Locarust/releases (Windows 10/11, x64)

Source: github.com/Megabre/Locarust

This post covers what it does and, since this is dev.to, how it does it.

The 30-second tour

Drop a folder into www and it opens at its own address: www/blog becomes http://blog.slw (the suffix can be .slw , .test or .local ).…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.