#Localhost solution to run multiple Laravel with PostgreSQL and Wordpress on my Macbook M1

21 messages · Page 1 of 1 (latest)

torn reef
#

Hello! I am looking for a unique tool to run several versions of Laravel/PostgreSQL and Wordpress on my Macbook M1.

MAMP Pro seems like a nice solution and I saw on a forum that PostgreSQL could be somehow easily connected.

I heard of Valet that seem to be recently heading towards Herd.

As for Wordpress, I used Local by Flywheel in the past that was quite easy to use.

Any idea of a single tool to manage them both? Thanks!

brazen moth
#

docker

twin ocean
#

I heard of Valet that seem to be recently heading towards Herd.
Nope. Herd uses Valet under the hood, so Valet disappearing would also kill Herd.

torn reef
# brazen moth docker

I thought of Docker but pretty often I see comments in forums about it being very slow. Isn't that right?

twin ocean
#

Yes, Docker is rather sluggish on MacOS. But honestly, there's many options you can take; Sail (Docker), Valet or Herd. Any other things would mean you'd need to build a lot more yourself, like if you're purely using Docker. Also depends on how you want to deploy etc

brazen moth
twin ocean
brazen moth
twin ocean
torn reef
#

I got @brazen moth point but as @twin ocean says, I’m looking for a solution that would work with both Laravel/PostgreSQL and WordPress on my M1.

wise plover
twin ocean
# torn reef I got <@831805426496176170> point but as <@126645623842668545> says, I’m looking...

Herd and Valet would probably work nicely for you; both run natively so it's fast. Both of these can also serve other apps out of the box, including Wordpress. Sail would only be applicable to Laravel, not Wordpress.
Sure, there's also Docker, that's a whole other learning curve, not to mention you'd then also likely want to deploy your apps in the same way, otherwise the usage of Docker is kinda nullified imho. Not to mention, you'd need to write containers for your Laravel apps and different ones for your Wordpress ones.

torn reef
#

Thanks!

narrow shore
#

I'm using Herd for Laravel and Wordpress. Working nicely.

torn reef
twin ocean
#

It's pretty much the same as Valet, but then just bundled in an app

narrow shore
#
  1. I have the pro, but I guess you can start with the free. Just install your database manually.

  2. Its a single installation, like Xamp/Wamp in the old days.

torn reef
#

I guess Valet would be my solution as Herd is using it under the hood. I might only have to deal with more setup (as Herd must make it easier I guess) but it's quite ok if I can have full control without paying for full features 😉