Getting the most out of PHPStorm for Drupal 8. Presentation by Kyle Einecker. Currently using phpstorm? CtrlADel @DBridgeChicago. Senior Developer, 4yrs drupal. PhpStorm has a Drupal plugin you can add to your IDE. In this tutorial you will learn how to configure the Drupal plugin and which new special features it provides, such as code generation, code completion, knowledge of Drupal coding standards, and more. For more information about using PhpStorm with Drupal 8 and Symfony, read PhpStorm’s Symfony2-specific features for Drupal 8.
One of the great advantages of an IDE over a text editor is the ability to easily run a debugger. In this lesson you'll learn how to configure PhpStorm to use XDebug. We'll walk through getting XDebug set up, and then how to debug, including setting breakpoints.
Note: From the menu bar, PhpStorm > Preferences > PHP > Debug will apply settings to the current project as described in the video.
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.Early Access ProgramFeatures
As the beta release of Drupal 8 is approaching, we are glad to share some cool news with you. In addition to already supported Drupal 7 & 6, we’ve introduced Drupal 8 support and it’s already available through our PhpStorm 8 Early Access Program.
All the features included in PhpStorm’s Drupal support are now fully available for Drupal 8, including:
- Enabling Drupal integration in an existing PhpStorm project, or creating a new Drupal module.
- Development environment auto-configuration (coding standard, file associations, etc.).
- Drupal hooks support (Completion for hook declaration, Navigation to hook invocations, Navigation to documentation from hook implementation and backwards, Quick docs for hook declaration).
- Drupal command line tool Drush integration.
- Search in Drupal API right from the editor.
We’ve allowed for more changes in the API, architecture, module skeleton (.info.yml file instead of .info file), and more changes introduced in Drupal 8.
Phpstorm Debug Drupal 8
For a walk-through, see the updated tutorial on Drupal development using PhpStorm.
Phpstorm Drupal 8
Download the latest PhpStorm 8 EAP build and report any bugs or feature requests to our issue tracker.
Oh, and if you are at DrupalCon Austin these days, make sure to meet our team at booth #406 in the exhibition area on June 2-5. Talk with us about Drupal & PhpStorm, enter the license raffle and grab a yo-yo!
Develop with pleasure!
-JetBrains PhpStorm Team