Skip to content

Instantly share code, notes, and snippets.

@landbryo
Created August 21, 2020 16:56
Show Gist options
  • Save landbryo/d009f7a5e3e066a98950453fec16c10b to your computer and use it in GitHub Desktop.
Save landbryo/d009f7a5e3e066a98950453fec16c10b to your computer and use it in GitHub Desktop.
Laragon Cmder in PHPStorm

Navigate to PHPStorm's Settings > Tools > Terminal and set...

Shell path "cmd" /k "C:\laragon\bin\cmder\vendor\init.bat"

@guillaumedufour
Copy link

The path has to be C:\laragon\bin\cmder\cmder.bat -> PHPStorm's Settings > Tools > Terminal It works perfectly and looks like it has some Linux commands (maybe all)

@gajosadrian Your technique also worked, but both mine and yours had the issue that when I change the PHP version from laragon and close and reopen the PHPStorm terminal, the php -v Command does not reflect the change in the PHP version in CLI. Despite the fact that this strategy works with Laragon Terminal.

any new on this php cli version issue ?

@Mutahhar
Copy link

Mutahhar commented Sep 12, 2023

any new on this php cli version issue ?

@guillaumedufour unfortunately, I am not able to find any solution for this. I keep using the largon terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment