Files
cheatsheet-tldr/tldr/phpstorm
2025-04-26 00:18:47 +00:00

26 lines
605 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# phpstorm
> 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>.
- Open a specific directory:
`phpstorm {{path/to/directory}}`
- Open a file:
`phpstorm {{path/to/file}}`
- Open a file at a specific line:
`phpstorm --line {{line_number}} {{path/to/file}}`
- View the differences between two files:
`phpstorm diff {{path/to/left_file}} {{path/to/right_file}}`