Answer the question
In order to leave comments, you need to log in
How to work with vagrant composer through phpstorm?
Does anyone know how to work with composer in phpstorm configured to ssh to vagrant.
When downloading packages, it requires you to specify the path to php.exe, in the phpstorm settings I set it to look for php on the vagrant server, and it sees it and works with it.
And when you try to download packages in composer through the IDE, it requires you to specify the path to php.
Answer the question
In order to leave comments, you need to log in
Ems, you don't seem to understand what vagrant is...
Vagrant is a virtual machine configuration system.
If you want to use vagrant - the environment must be fully installed through the provision mechanisms (shell, ansible, salt-stack, putty, chef, ....), or later by hand (but this approach is usually bad)
This means that BOTH php AND composer should be installed on your guest machine (virtual, which is under vagrant).
In this case, the IDE should not be doing this.
I think you need to configure access to remote PHP, it is written here as: https://confluence.jetbrains.com/plugins/servlet/m...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question