Allow me to give you a nice idea if you are a windows 10 user.
Install ubuntu or OpenSUSE as a subsystem (not in a virtual machine or dual boot)
(
https://docs.microsoft.com/en-us/windows/wsl/install-win10)
After that, you can simply just type 'bash' in cmd.exe and it will turn into a linux terminal window. you can install add-ons using this console and also install all linux apps (you can use it in PHPStorm terminal too)
Then you can install docker on windows or into the linux subsystem (or just install every PHP binaries and web apps into the linux subsystem)
And add something like this
Code:
@doskey xfcmd=docker exec -it xf2 php cmd.php $*
into ur startup command prompt script or .bashrc in linux subsystem
And finally, you can just type `xfcmd` in the phpstorm terminal and see this as result
View attachment 170394
and forget about PUTTY