phpstorm Command Examples

A cross-platform IDE for PHP based on the JetBrains IntelliJ platform. More information: https://www.jetbrains.com/help/phpstorm/working-with-the-ide-features-from-command-line.html#arguments.

phpstorm {{path/to/directory}}

phpstorm {{path/to/file}}

phpstorm --line {{line_number}} {{path/to/file}}

phpstorm diff {{path/to/left_file}} {{path/to/right_file}}