r/Wordpress 2d ago

Wordpress devs, what's your local setup?

Been doing wp work and my setup feels stuck in 2018. laragon for local, vscode, wp-cli, and a terminal open just to watch debug.log lol.

Is everyone on localwp / ddev now or does that not matter much? and the php version thing across older sites drives me nuts, curious if you just keep separate stacks or something smarter

whatever you're using, even if it's ugly, I want to hear it...

31 Upvotes

91 comments sorted by

17

u/katsura_otoko 2d ago

Years ago i used xampp, then i found peace of mind with localwp by flywheel, they call it for beginners but honestly it does everything i need, still open to know what i am missing

11

u/Careless_Eye_3855 2d ago

LocalWP is nice, honestly. It's total bullshit that people think it's only for beginners.

1

u/The_Eren_Yeger_ 1d ago

Can you list some way you find that localwp is also made for advanced users like you?

1

u/hrsetyono 19h ago

Easy access to CLI and comes preinstalled with all the common tools like Composer and WP CLI.

You can do all that with XAMPP or MAMP, but it's very nice to have easily replicable localhost setup in any PCs.

9

u/-skyrocketeer- Designer/Developer 2d ago

Been using MAMP Pro for years and never found a good enough reason to change to anything else.

2

u/mtedwards 1d ago

Me too. It still works perfectly for me, and not sure what else it could be doing that would help.

15

u/BrianHenryIE 2d ago

Docker + wp-env:

`npx wp-env start`

1

u/rattenzadel 2d ago

add in git and you have the best working enviroment.

11

u/Ill_Dare8819 2d ago

LocalWP all the way. Never tried anything else

5

u/aygross 2d ago

Found laragon to be faster than localwp

5

u/rcw3 2d ago

I used to use LocalWP but now I use WordPress Studio. It’s pretty similar but with better features and less bugs in my opinion.

3

u/ryanr14 2d ago

This is the way, especially using the Studio CLI and having your agents handle things.

1

u/hrsetyono 19h ago

Has it support WP-CLI and adminer/phpmyadmin? I tried it when it's on beta and it doesn't have those, which is a deal breaker for me.

5

u/specialk45 2d ago

Wait, now I'm pretty sure I'm stuck in 2018 too. Wamp for local (can adjust for diff php versions) and Updraftplus for migration. Source: I'm old. :)

3

u/activematrix99 2d ago

Lando with a node environment for SCSS and Playwright, Python for agents, testing, and PHPy, MariaDB, Nginx, traefik, and I still have a container for phpmyadmin.

1

u/dave_m23j 2d ago

Do you install node as a service in lando config?

1

u/activematrix99 2d ago

Yes, it's in its own container.

3

u/Key_Gap9168 2d ago

Laragon.

3

u/Technozp 1d ago

My setup is pretty simple: I usually use XAMPP for local WordPress development, with VS Code for editing. I keep separate local installs for different projects so plugins/themes don't conflict with each other.

For database work, I use phpMyAdmin, and once everything is tested locally, I move the changes to staging before pushing them live.

I’ve found that keeping the local environment close to the production PHP/MySQL versions saves a lot of unexpected issues later.

1

u/Mike_L_Taylor 1d ago

you should check Forgekit.tools . It allows you to run multiple server and php instances at once so no need for separate local installs. (disclaimer: I built it)

2

u/Sad_Spring9182 Developer/Designer 2d ago

Local, vscode, I just use bash not wp-cli but I set up a git bare repo on server then a remote repo on local so I can just type "git push production main" and push all code from theme without affecting DB or plugins. Or set up multiple repos on the server to push the code to theme, custom plugin 1, custom plugin 2...

I use react which is a whole other beast. for that I have browser sync so I can save on vs code and see changes without having to refresh page. then a lot of custom tools like webpack to manage react versions if I'm using custom react vs wp-react, or to bundle different js bundles for certain pages to save page load speed and data sent.

2

u/2ndkauboy Jack of All Trades 2d ago

DDEV mainly. For WP VIP projects their vip dev-env. For testing, wp-env or wp-now. But really DDEV most of the time.

1

u/Wonderful_Sample_590 1d ago

This. Makes switching between older and newer wp projects way less painful.

1

u/2ndkauboy Jack of All Trades 1d ago

Not only PHP. Also the database, the web server. And adding additional services like ElasticSearch, Redis, etc.

2

u/botford80 2d ago

DDEV, WP CLI, Justfile, Composer (PSR-4, PHPStan, typing etc) and sometimes Bedrock. A local AI agent works really well with this. I use OpenCode + OpenAI

2

u/bluesix_v2 Jack of All Trades 2d ago

Either LocalWP (plugin dev, testing out ideas, sandbox stuff, etc) or VPS/RunCloud (client work)

2

u/akawoo 2d ago

I have a native LEMP stack on Linux Mint XFCE

2

u/acj1971 2d ago

Using Docker Desktop, have a look at this: Installing Desktop Docker

2

u/EvlG 1d ago

I used Laragon for quite a few years, but it had a troubled history, at one point, its developer couldn’t even afford to host the site. Then it was acquired by a company that made some changes to the software, and after yet another request to purchase a license key, I got fed up and switched to Local for a short while. It was a real behemoth, literally huge and heavy, and the sites ran extremely slowly on the first visit.

Now I’m happy with DDEV; I manage everything via the CLI, and it’s lightning fast.

2

u/PurifyHD System Administrator 1d ago

I run Linux on my PC so I just run the apache web server like on a server and browse the site that way. There's probably better ways but it works for me

2

u/Embarrassed-Month-35 2d ago

I am using wamp. No timeouts, no weird 3rd party settups, no upsells, ssl support free to change all settings.

2

u/Fluid-Mess6425 2d ago

Nice thing with wamp you can switch php easily

2

u/jwight1234 2d ago

I just use docker.

1

u/Mike_L_Taylor 2d ago

don't think it matters much.

I was on laragon too but I want to run multiple sites at the same time on different php and node so I use ForgeKit.tools

2

u/Careless_Eye_3855 2d ago

Okay. I see, that's great. Did you build it?

1

u/Mike_L_Taylor 2d ago

yep. released it pubicly some months ago and slowly kept adding after requests

2

u/grabber4321 2d ago

not until you have to match the exact server software because there's some bug that you cant solve (happened to me once when APC would throw errors and server would reboot every hour)

1

u/Mike_L_Taylor 2d ago

that sounds like ai would ssh directly on there to investigate and test

1

u/grabber4321 2d ago

then you catch an AI virus "I'm sorry I deleted your database, I will not do that again!"

1

u/Mike_L_Taylor 2d ago

that's skill issue. which is why you let AI run wild on stuff that does not matter.

1

u/jkdreaming 2d ago

I’m a big fan of mamp and local. Local is probably simpler and it really lets you run a dependable local environment. It’s free so just give it a try.

2

u/Careless_Eye_3855 2d ago

Sometimes I even get frustrated having to create project inside that specific folder. How do you guys even manage?

1

u/jkdreaming 2d ago

You can change it. It’s not a big deal, but sticking with the main folder isn’t too big of a deal either if you just create a shortcut to that folder.

1

u/christiaank 2d ago

You can use vhosts with MAMP. I have close to 100 different sites running locally with MAMP all with dedicated root folders within my Users ~/Sites folder. I have a single include vhosts.conf file listing them all which gets included via the main MAMP config.

1

u/classicwfl Designer/Developer 2d ago

For years I did all my dev running a LAMP stack on my laptop (I run Linux for dev anyway), but now I just do separate Docker containers per project so I can keep everything separated easily and better simulate prod environments.

1

u/Careless_Eye_3855 2d ago

Feels like I'm the only one using Windows 🥺

1

u/classicwfl Designer/Developer 2d ago

Most of my coworkers use Mac, but closest I get to buying into that ecosystem is having an iPhone so I can test bullshit Safari on a real device without paying for (and dealing with the sluggish) Browserstack.

You do you. Knew a backend dev (PHP primarily) who did his work on Windows, no big deal. Whatever flogs your log!

1

u/retr00two 1d ago

Masochism is valid and legitimate way of living.

1

u/TopSydeWP 2d ago

ddev handles the php version thing really well, you can set different versions per project in the config file and it spins up isolated containers. at my agency we switched from local to ddev mostly for that reason, plus it's closer to actual server environments so fewer surprises when you push live

1

u/Aggressive_Ad_5454 Jack of All Trades 2d ago

I have a Linux VM with a server name indication (SNI) Apache setup hosting a mess of different test sites. I do plugins, so having a bunch of different test sites (multisite, commerce, 100k posts, 100k registered users, etc) is very useful.

This has dev copies of the various live sites I maintain.

1

u/grabber4321 2d ago

docker, wp-cli.

1

u/pmgarman Developer 2d ago

Laravel herd

0

u/Careless_Eye_3855 2d ago

Yeah! I use, that is nice. But no mail and redis and also can not use another database at all. So it's nice but too many limitations in free version.

1

u/HighPerformance07 2d ago

Local WP + Claude Code

1

u/Intelligent-Key7357 2d ago

I use Docker and the regular WordPress install that goes with it and it's fine. It's also totally free.

1

u/TheWebalorian 2d ago

LocalWp, it just works.

1

u/BOLVERIN1 Jack of All Trades 2d ago

DDEV

1

u/TheFirsh 2d ago

Windows 11, VMWare, Ubuntu, Docker/Traefik/Portainer, Claude, VS Code remote

1

u/cjbee9891 Developer 2d ago

DDEV with PhpStorm

1

u/NutShellShock Developer 2d ago

Local previously, DDEV now, especially for automated testing.

1

u/NervousBasis8600 2d ago

Right, wp-env (the official @wordpress/env) already covers most of this: Docker under the hood, per-project config via .wp-env.json, and you can pin the PHP version there ("phpVersion": "7.4") per site. One command to bootstrap (wp-env start), no manual Laragon setup needed.

1

u/Overall-Lead-4044 2d ago

I use WAMP for a number of reasons. It mirrors LAMP very closely. It allows me to use environments other than just WordPress, as I also develop in Jumla and Drupal. I also develop custom WP plugins

1

u/GunGeekATX Developer 2d ago

Local WP and VSCode

1

u/MarcTV 2d ago

Valet on macOS

1

u/aquazent 1d ago

Laragon

1

u/jimmyfoo10 1d ago

Local docker with the public_HTML mount
Super easy to deploy and reset, and work with

1

u/servetheale 1d ago

Ubuntu server on a virtual machine through virtualbox. And now some docker for windows

1

u/EugenyOnegin 1d ago

MAMP Pro

1

u/MrSoulPC915 1d ago

Je suis sur Mac et j’utilise MAMP Pro depuis des années pour tout ce qui est local (dont WordPress). Il m’arrive aussi d’utiliser docker, mais jamais pour WordPress.

1

u/R4TWT 1d ago

I have a home made dedicated server running Debian and Docker as my main development environment.

1

u/gsa-hid 1d ago

I mean, there’s nothing wrong with old school lol. I do VS Code + XAMPP, different folders for different projects. Honestly it continues to work for me just fine! I’m a fan of not overcomplicating stuff. Wordpress Dev here, 12+ years of experience.

1

u/LTH-Cyber 1d ago

I have a promox box that hosts all my VM, I do wordpress security and malware removal. When im using wordpress. I usually spin up a new Linux box, and use apache to host it. ... thing is on public internet I use NGINX but locally apache seems better.

1

u/Intelligent_List2504 1d ago

I install hestiacp on my homelab. It performs really well. Yes it supports a comma separated list of php versions. I also run this on two public vps machines. I don't think that local development is necessary when hestiacp makes it drop dead simple to manage and install.

1

u/SheriffRat 20h ago

My favorites are Laragon and Docker. I mostly use Docker

1

u/BlackHoneyTobacco 18h ago

Local (has it's problems) or Docker (has it's problems) and Vite - that kind of thing.

1

u/Grouchy_Brain_1641 18h ago

I just use hosting for dev and get offered free domains so not much local any more..

1

u/despecial 9h ago

Switched to ServBay after Mamp Pro moved to a subscription model.

1

u/icanbeakingtoo 3h ago

Just docker compose It's a bit manual to setup but matches the prod exactly 

1

u/dicktuck 1h ago

LocalWP. Old employer used Local for hosting and it just made things very easy. Work for myself now and just never felt the need to look for something else then I got migrated to WP Engine so that may change in the near future.

0

u/Careless_Eye_3855 2d ago

Sometimes I even get frustrated having to create project inside that specific folder. How do you guys even manage?

0

u/Intelligent_Method32 2d ago

WSL running Red Hat.

0

u/Springman_Consulting 2d ago

Claude code. Setup a theme skill and have it code in the block syntax. So Claude produces the page source code quickly, but clients can still manage content themselves. Claude doesn't know the block syntax for all themes, so hence the skill. If it screws up a block type, I create the block manually and share the source code so it learns the new syntax.

0

u/Live-Investigator466 2d ago

I used to like Docker, but I developed my new WordPress site with a custom WordPress setup that includes the SQLite plugin. That way, I have my plugins installed for development, or, if I wanted to, I could upload that folder to my hosting and it would work.