---
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://jetbrains.com/phpstorm>.

- 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}}`
