Skip to content

Instantly share code, notes, and snippets.

@m4olivei
Forked from mikeyp/instructions.md
Last active August 10, 2016 02:14
Show Gist options
  • Save m4olivei/4a7af315e4a419d15a5b4b0a148fd7bc to your computer and use it in GitHub Desktop.
Save m4olivei/4a7af315e4a419d15a5b4b0a148fd7bc 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' -> 'PHP' -> '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