You have php application in WSL /var/www/application and you want edit it from windows with IDE (ie. PHPStorm).
Modified files does not update in WSL command line
New files does not show in WSL command line
Modified files behave badly - can not mv, ls, rm, applications refuse to use them and not found messages
WSL uses file system cache
I found question with reasonable answers
answer and answer
TL:DR - Sharing/synchronizing of WSL files to windows is not supported.
It's recommended to cd to windows folder and work there.
Move files from /var/www/application to C:/Users/VBoss/Projects/application.
Then set paths and configs to use this path /mnt/c/Users/VBoss/Projects/application.
And done, in my case i can run composer install in application folder using php from WSL.