PHPStorm

Installation

Check official guide to install: https://www.jetbrains.com/phpstorm/

Settings

Fonts

Debuging

  1. Install Xdebug
  2. Settings -> PHP -> Debug
  3. Settings -> PHP -> Server
  4. Enabled Debug Mode P/S: If you’re using Docker. You need to setup mapping path firstly.

Keyboards Shortcut

Tips

List keyboard shortcut that I usually use. If you want more please check on official guide: https://www.jetbrains.com/help/phpstorm/mastering-keyboard-shortcuts.html

Plugins

Indexing Options

Limit CPU Usage

By default, PHPStorm allows full CPU usage (100%). Therefore the CPU is overloaded

caches.indexerThreadsCount=4
caches.scanningThreadsCount=4
-XX:ActiveProcessorCount=4

Directories Exclude and Ignore Files

To improve performance, please exclude and ignore some directories and files that don’t use to scan & index (Such as log file, symlink,…)