This guide aims to be the reference for setting up Lando and PhpStorm tools on a WSL2 environment.
This assumes your project:
- lives in a WSL2 instance (something like
\\wsl$\Ubuntu\home\[user]\dev\my-demo-project
) - Is "Lando-initialized" (
lando init
) and runs (lando start
) - uses Composer, and dependencies are installed (
lando composer install
)
This guides relies on Docker for Windows, using the WSL2 based engine, and setup with WSL integration (Resources > WSL Integration
). Unfortunately I didn't find a solution to do without it and only rely on WSL's Docker.