In PhpStorm: open settings, find Scopes, add new scope, set name for scope
as pattern set:
file:*||file:src*/||file:app*/||file:web*/
after that, when searching “Find in path”, set “Scope” radio button to Custom and in select options find previously created name.