Skip to content

Instantly share code, notes, and snippets.

@mikeyp
Created August 9, 2016 17:17
Show Gist options
  • Save mikeyp/46456e169bc8bfa0a860213d58f80ca8 to your computer and use it in GitHub Desktop.
Save mikeyp/46456e169bc8bfa0a860213d58f80ca8 to your computer and use it in GitHub Desktop.
PHPStorm and Drupal 8

Development

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