Hacker News new | ask | show | jobs
by iKlsR 1313 days ago
Similar journey but several different languages and trust me when I say I've used and tried them all.

To name a few off the top of my head - XAMPP, WAMP, EasyPHP, Vagrant, QEMU, WSL, VirtualBox (headless and ui), Devilbox, Vanilla Docker, (Homestead, Sail, Valet, Laragon)

My favorites where #3 Laragon, #2 Devilbox and number one nowadays is Lando.

Lando [1] is the best of all worlds as I have projects running node, c#, java and php and while I haven't needed to I can use or drop to raw docker files if I need to. Everyone I have introduced to it ended up loving it for ease of use and convenience. It comes with about everything you need and you can craft your own recipes and access them as needed. In one laravel project I have meilisearch running [2] and more. I could go on and on about this tool but it makes the dev process so much easier where I can focus on problem solving and not wrangling with commands and tools.

[1] - https://lando.dev/ [2] - https://usa.adaptagency.com/news-knowledge/meilisearch-and-l...

3 comments

If you like Lando, there's also https://ddev.com/. Since switching from vanilla docker to it I haven't had to faff with any configuration; it just works. Amazing!
I was just thinking fondly back to XAMPP... was so massively cool to teenage me. Also that logo was very cool to me [0].

[0] https://1.bp.blogspot.com/-LRsqmuaX9Q0/XhhZfDGmkYI/AAAAAAAAA...

> I was just thinking fondly back to XAMPP...

Actually used XAMPP just a few years ago, for some quick and dirty PHP development, before eventually moving over to containerizing everything I needed for that project. It's still around and usable: https://www.apachefriends.org/index.html

Either way, nowadays I basically run all of my "business" applications in containers, because that's the lowest common denominator for isolated, scalable and relatively easily manageable environments that's not going anywhere (OCI seems too widespread now, even if something like Podman might displace Docker in particular somewhat).

That said, there's also something nice to be said about things running with fewer abstractions along the way locally (debugging can be easier in some tech stacks that way, instead of figuring out how to do remote debugging, same for other instrumentation like seeing all of the application threads/memory/SQL queries etc.), or a set of highly focused tools for a particular tech stack.

Honestly, I just use the newly built-in PHP web server for my hobby projects. I mostly develop with Laravel so just run the artisan server.
Same at times, sqlite driver etc but you quickly need redis or sqlite taps out on some more complicated or better supported framework feature you need.
Lando does look good, but what I really want is a similar tool which isn't using Docker. I use macOS, and Docker on macOS is just a poor experience. And most tools now have good cross-platform support, so just installing the native tools portably ought to work quite well.
I wish they had a cloud offering, it's something I'll look into setting up one of these days as I've been getting more and more motivated to move some of my lesser used/stable projects to the cloud so I don't have them on my main machine and can access them quickly if I'm away or a client needs some change. I've heard good things about https://www.gitpod.io/. Also funnily enough I have a m1 mac and I use lando on it without any issues whatsoever, other than starting docker I don't interact with it at all.
Maybe canonical's multipass is a good option. It creates Ubuntu VMs very quickly using hyperkit, has as they were containers with docker. It has some limitations but works pretty well overall.

https://multipass.run

asdf seems to have a php plugin. May be worth trying.