Drupal Symfony Bridge

Compatible with: IntelliJ IDEA PhpStorm
Sep 18, 2017
23 597
Drupal Symfony Bridge
GitHub | Issues | Documentation (Symfony Plugin) | Donate

Integrates support for Symfony components in Drupal8 with Symfony Plugin

Install
  • Enabled Symfony Plugin per project (File > Settings > Symfony Plugin)
  • Install Php Annotation plugin to enjoy all the annotation stuff
  • Plugin needs a valid PhpStorm indexer, use "File > Invalidate Caches / Restart" if something crazy is going on
Features
  • Twig/PHP: Routing
  • Twig/PHP: Gettext support (just throw in a full po file into project)
  • PHP: Config index
Features (from Symfony)
  • Full container support
  • Twig extensions
  • and more...
Todo
  • Twig variables types and completion
  • Twig namespaces for include, extends, macros, ...
  • Child mapping of \Drupal\Core\Config\Config::get

Download plugin

Recent change notes

  • Fix Symfony Plugin usage for dropped API usages #37
  • Fix error: Argument for @NotNull parameter 'element' of com/intellij/psi/PsiElementResolveResult. must not be null #36

see full changelog | Donate