PHPStorm useful snippets


Useful shortcuts

Shift ⌘O spotlight like to get files

⌘O Find file by ClassName

⌘E Navigate to recent files

⌘L Go to specific line

⌘B Go to declaration of variable

How to auto style PHP code to follow PSR1/PSR2

1) Go to Preferences.

2) Search for Code Style

3) Choose PHP

4) Click on Set From..

5) Choose PSR1/PSR2 as show below:


Total Views: 26 ,