How to develop in PHP on Windows 10 with WSL?

In Windows 10 there are WSL - built-in Linux. Suitable for full development under Windows or is it a crutch?
Some time ago tried all this business to adjust, the upshot was that I put in there everything you need and even start, but the question arose as I /var/www/mylocalsite to open in PhpStorm on Windows. Or rather to open it I opened the door, and then there was a big problem, the files are not deleted and not modified through the storm, it was not deleted and not modified using the WSL. In General, I spat on everything and then did not continue to investigate.
Does anyone through WSL?
March 25th 20 at 13:47
4 answers
March 25th 20 at 13:49
Personally, I put in the Windows components IIS, it put a https://www.microsoft.com/WEB/downloads/platform.aspx and then in the IIS console, set the PHP 7.3. Then put composer, mysql (including Workbench for graphic admin), git, nodejs, then VS Code (you get here you phpstorm) and all, I'm developing under windows. The only thing - is necessary to give rights to IUSR to the folder with the project.
March 25th 20 at 13:51
In 2019.3 PhpStorm EAP#7 brought the support of WSL. Project spin in the wsl or wsl to docker. The files are edited in the storm
March 25th 20 at 13:53
Docker put, plug normal bulbs and not torture the animal.
March 25th 20 at 13:55
Deploy need to configure PhpStorm to Your project synchronized with the WSL, it needs to map a network drive \\wsl$. Docker WSL 2 runs as fast as on Linux, still the problem is only between the file systems Windows and WSL.

Find more questions by tags UbuntuPHP