Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
PHPStorm and Drupal 8


Enabling PHPStorm Support

PHPStorm 8 supports most D8 features including Twig templates, container links, namespaces etc. To enable full support:

  1. Log into the admin section at localhost:8888/user.
  2. Make sure that the following plugins are enabled:
  3. Enable Drupal support in Preferences under 'Languages & Frameworks' -> 'Drupal' and set the installation path to the drupal directory of this project, and set the version to 8.
  4. Enable Symfony2 plugin in Preferences at 'Other Settings' -> 'Symfony2 Plugin'. Ignore the settings for app/web directories and you'll need to restart PHPStorm after enabling this setting and saving the preferences.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment