Skip to content

Instantly share code, notes, and snippets.

@icanhazstring
Last active January 24, 2019 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icanhazstring/3bef380a7d8e5c8856472efcb25f24c0 to your computer and use it in GitHub Desktop.
Save icanhazstring/3bef380a7d8e5c8856472efcb25f24c0 to your computer and use it in GitHub Desktop.
IntelliJ/PHPStorm composer remote execution using Vagrant
:: Prerequisties
:: - Git for Windows
:: - Vagrant
"C:\Program Files\Git\bin\sh.exe" -c "vagrant ssh -c 'cd /vagrant && composer %*'"
:: Setting up composer in IDE
:: Settings > Languages & Frameworks > PHP > Composer
:: Insert /path/to/your/composer.bat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment