Symfony Development using PhpStorm

symfony-logoFor more than a year developers working on projects built with Symfony2 framework have enjoyed dedicated Symfony2 Open Source plugin maintained by Daniel Espendiller.

With over 730,000 downloads to date, this plugin enhances PhpStorm’s advanced features, adding many Symfony2-specific features using extension points provided in the IDE for third-party plugin authors.

Today we are glad to publish a series of tutorials prepared by JetBrains Technical Evangelist Maarten Balliauw, covering the entire workflow of Symfony2 web applications development using PhpStorm IDE with Symfony2 plugin.

Have a look at the table of contents here, and make sure to proceed reading full Symfony Development using PhpStorm tutorial.

Continue reading

Posted in Cool Feature | Tagged , , | 7 Comments

PhpStorm 8 EAP 138.1751

PhpStorm 8 EAP 138.1751 is available for download.

This update delivers Blade (structure view) and formatting (new option to place semicolon on a new line in chained methods, improved Complete Statement) enhancements from PHP side, along with many other fixes (see full list in our issue tracker)…

Other improvements and IntelliJ platform and web support changes are also included, see complete release notes.

Download PhpStorm 8 EAP build 138.1751 for your platform from project EAP page and please report any bugs and feature request to our Issue Tracker. Patch-update will be available within an hour from the previous EAP build (PhpStorm 8 EAP 138.1505).

Develop with pleasure!
-JetBrains PhpStorm Team

Posted in Early Access Program | Tagged , , | 30 Comments

PhpStorm’s Symfony2-specific features for Drupal 8

drupal 8 logo Stacked CMYK 300Drupal v8 and later is based on a number of Symfony2 framework components. There is a Drupal plugin built into PhpStorm with Drupal 8 general support (hooks, drush, etc.), but PhpStorm has excellent support for Symfony2 framework as well through its core features and the Symfony2 Plugin (an Open Source plugin maintained by Daniel Espendiller).

To take advantages of close integration between Drupal and Symfony2 while developing Drupal modules and core, Daniel maintains an additional Drupal Symfony2 bridge plugin, which connects Symfony2 components to Drupal infrastructure in terms of IDE understanding. There is also the PHP Annotations plugin to take advantage of advanced annotations support.

Have a look at the full version of this tutorial on Symfony2-specific PhpStorm’s features for Drupal 8.

Continue reading

Posted in Cool Feature | Tagged , , , , | 13 Comments

Blade Template Engine Support in PhpStorm 8 EAP

blade_laravel_logoBeginning with PhpStorm 8 EAP 138.1505, the IDE provides complete support for Laravel’s Blade template engine.

Support for Blade templates includes highlighting, completion, navigation, find usages, inspections, folding, custom directives, and more.

In this blog post we’ll overview all the Blade-related features. Continue reading

Posted in Cool Feature, Early Access Program | Tagged , , , , | 42 Comments

PhpStorm 8 EAP 138.1505

PhpStorm 8 EAP 138.1505 is available for download. Significant changes are:

  • Blade templates complete support. Highlighting, completion, navigation, find usages, inspections, folding, custom directives and more (read more in the blog post)
  • Generated PHPDoc class name style option: Settings | Code Style | PHP | PHPDoc | Generated Doc Blocks | Use fully-qualified class names
  • ANSI sequences support in the output of run/debugged PHP Script
  • Drupal comments completion (template is available for editing in Settings | File Templates | Includes | Drupal Hook Implementation Doc Comment)
  • ClassName::class completion
  • many bug fixes and improvements (see full list in our issue tracker)…

Other improvements and IntelliJ platform and web support changes are also included, see complete release notes.

Download PhpStorm 8 EAP build 138.1505 for your platform from project EAP page and please report any bugs and feature request to our Issue Tracker. Patch-update will be available within an hour from the previous EAP build (PhpStorm 8 EAP 138.1289).

Develop with pleasure!
-JetBrains PhpStorm Team

Posted in Early Access Program | Tagged , | 48 Comments

Using Behat in PhpStorm

behat_logo_newBehat is a BDD (behavior driven development) framework for PHP. With BDD, you write human-readable stories that describe the behavior of your application. These stories can then be auto-tested against your application.

In this blog post we’ll look into how to install, configure and use Behat right from the PhpStorm IDE. Please have a look at the full tutorial on using Behat in PhpStorm.

Behat support is available in PhpStorm 8 EAP. The following Behat-related features have been implemented:

  • Behat installation and configuration helpers
  • Run Configuration for Behat (similar to PHPUnit’s)
  • Behat Intellisense including:
    • Resolve from step in Gherkin file to Context file
    • Find Usages from Context file to usages in Gherkin files
    • Keyword and step completion
    • Generation for undefined steps

Continue reading

Posted in Cool Feature, Early Access Program | Tagged , , , , | 4 Comments

PhpStorm 8 EAP 138.1289

PhpStorm 8 EAP 138.1289 is available for download.

From the PHP side, this build brings:

  • Improved relative include resolution (path ‘..’ not found)
  • Improved various action invocation on injections
  • Surround With intention can be now invoked on the field
  • Debugging support for Behat and various Behat-related enhancements
  • Force Braces now correctly adds braces on alternative syntax
  • Stubs updated for various extensions and upcoming PHP 5.6
  • many bug fixes and improvements (see full list in our issue tracker)…

All the IntelliJ platform and web changes are also included.

Download PhpStorm 8 EAP build 138.1289 for your platform from project EAP page and please report any bugs and feature request to our Issue Tracker.

Patch-update will be available within an hour from the previous EAP build (PhpStorm 8 EAP 138.1161).

Develop with pleasure!
-JetBrains PhpStorm Team

Posted in Early Access Program | Tagged | 33 Comments

Running PHPUnit tests over SSH on Vagrant with PhpStorm 8

More and more PHP developers are shifting to a workflow where they use PhpStorm on their local machine and run and debug their PHP applications on a remote server or Vagrant machine. Which is great! Every project we’re working on would have its dedicated, virtual development machine and we easily share the project configuration and development environment with our team. Even version it through source control.

Since introducing Vagrant support in PhpStorm 7, we’ve had tons of feedback from our users. While PhpStorm has been supporting running PHPUnit on remote servers for quite a while, developers working with Vagrant clearly prefer doing this over SSH instead. And that is exactly what we can now do using PhpStorm 8.

Running PHPUnit tests on Vagrant using PhpStorm

Head over to our tutorial on running PHPUnit tests over SSH on Vagrant (or remote servers) and give it a go with the latest PhpStorm 8 EAP. Your feedback is welcome through the issue tracker, by posting in the comments below, or in our forums!

Develop with pleasure!
– JetBrains PhpStorm Team

Posted in Cool Feature, Early Access Program | Tagged , , , , , , | 4 Comments

PhpStorm 8 EAP 138.1161

PhpStorm 8 EAP 138.1161 is available for download.

From the PHP side, this build delivers:

  • Fluent-style chaining type loss with return this/static fixed, and many other PHP language related issues are resolved
  • Wrapping for comments on code reformatting is added
  • PHP 5.6 support improvements
  • Multiple stubs fixes
  • Behat: Search for all classes in project that extends BehatContext (for 2.*) or implements Context (for 3.*) to find step definitions
  • Behat: recognition of multiple patterns
  • Add PHPDoc comment intention and other actions generating @var annotation now allow to use @type instead of @var (option in Settings | Code Style | PHP | PHPDoc called Generated type tag)
  • many bug fixes and improvements (see full list in our issue tracker)…

All the IntelliJ platform (e.g. the Open action from the welcome screen now opens single files) and web changes (e.g. emmet filters) are also included.

See full release notes for a list of changes.

Download PhpStorm 8 EAP build 138.1161 for your platform from project EAP page and please report any bugs and feature request to our Issue Tracker.

Patch-update will be available within an hour from the previous EAP build (PhpStorm 8 EAP 138.940).

*Update* If you experience any problems with this build (e.g. Symfony2 plugin issue) please download the previous version (PhpStorm 8 EAP 138.940) from the PhpStorm EAP page archive.

Develop with pleasure!
-JetBrains PhpStorm Team

Posted in Early Access Program | Tagged | 21 Comments