phpstorm-livetemplates

My custom Live Templates for PhpStorm

Instalation

First find where your config directory is located

Windows: %USERPROFILE%\.PhpStorm<version>\config
Linux: ~/.PhpStorm<version>/config
MacOS: ~/Library/Preferences/PhpStorm<version>

By default Live Templates live in templates directory inside your config directory (~/.PhpStorm<version>/config/templates).

NOTE: If you're using Settings Repository to store your configuration, you need to use settingsRepository/repository/templates directory instead (~/.PhpStorm<version>/config/settingsRepository/repository/templates).

Then just download the templates file to this directory and restart PhpStorm.