IDE PhpStorm
PhpStorm provides an editor for PHP, HTML and JavaScript with on-the-fly code analysis, error prevention and automated refactorings for PHP and JavaScript code. PhpStorm's code completion supports PHP 5.x & 7.x (modern and legacy projects), including generators, coroutines, the finally keyword, list in foreach, namespaces, closures, traits and short array syntax. It includes a full-fledged SQL editor with editable query results.
PhpStorm is built on IntelliJ IDEA, which is written in Java. Users can extend the IDE by installing plugins created for the IntelliJ Platform or write their own plugins.
source wikipedia
Official download Jetbrains PHPStormPhpStorm Tips
Official help Jetbrains PHPStorm Help
Official shortcuts Jetbrains PHPStorm keyboard shortcuts
Official shortcuts Jetbrains PHPStorm keyboard shortcuts
Shortcuts
Shortcut | Action |
---|---|
Ctrl+D | Duplicate line |
Ctrl+G | Go to line |
Ctrl+F | Find |
Ctrl+Shift+F | Find in path |
Ctrl+R | Find & replace |
Ctrl+Shift+R | Find & replace in path |
Ctrl+Z | Undo |
Ctrl+Shift+Z | Redo |
Ctrl+Alt+L | Reformate Code |
Alt+Insert | Generate |
Alt+Enter | Generate from selection |
Alt+Arrow down/Up | Go to previous/next method |
Alt+Click | Go to method/function clicked |
Alt+Click | Create multiple cursor each click, for multiple simultaneous writing |
Ctrl+Shift+A | Find Action |
Ctrl+N | Find class |
Ctrl+Shift+N | Find file |
Ctrl+Shift+Alt+N | Find symbol |
Ctrl+E | View recent files |
Alt+Enter | Show intention actions |
Ctrl+Space | Basic code completion |
Ctrl+W | Extending selection |
Ctrl+Shift+W | Shrinking selection |
Ctrl+Slash | Add line or block comment |
Ctrl+Shift+Slash | Remove line or block comment |
Ctrl+Shift+F7 | Highlight usages in file |
Twig shortcuts
Those shortcuts help to edit .twig templatesShortcut | Action |
---|---|
In a new file write only ! then use tab | The file will be filled with a default html file content |
Write blk then use tab | Will create a new block |
Write ext then use tab | Will create an extends block |
Ctrl + click | Will go to selected element |
Tools & Configuration
You can find here a list of tools for PHP : awesome-php