vagrant-phpstorm-tunnel

vagrant-phpstorm-tunnel creates tunnel between PHPStorm and Vagrant machine to allow executing PHP via SSH

Installation

$ vagrant plugin install vagrant-phpstorm-tunnel

Vagrantfile

Vagrant.require_plugin "vagrant-phpstorm-tunnel"

Vagrant.configure("2") do |config|
    #...
end

PhpStorm

vagrant-phpstorm-tunnel will create file php in location ./scripts/vagrant/php relative to Vagrantfile. You should configure you PHP interpreter by navigate to folder <path-to-project>/scripts/vagrant.