Tag Archives: completion

Twig support in PhpStorm

Twig is a template engine for PHP. While it evolved out of the Symfony framework, it can be used with other frameworks as well. It’s fast (compiles to optimized PHP code), it’s secure (creates a sandbox to run templates in). … Continue reading

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

Language Injection in PhpStorm

In almost every project, we have a moment where we want to make use of language injection: embedding a small island of a different programming language in our code, typically embedded in a string. Consider embedding an HTML fragment in … Continue reading

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

Optimize Imports for PHP

Those of you who have already tried PhpStorm 6 might have noticed a lot of great additions to PHP imports support. In this post we would like to tell you about a long awaited feature: Optimize Imports for PHP.

Posted in Cool Feature | Tagged , , , , , | Leave a comment

PhpStorm Type Inference and Mocking Frameworks

Recently, we received a question on Twitter asking about how PhpStorm handles type inference when working with mocking frameworks. Imagine having the following two classes: When writing a unit test for ClassA, it’s very easy to mock ClassB using PHPUnit’s … Continue reading

Posted in Cool Feature, PhpStorm, Tutorial | Tagged , , , , | 7 Comments

PhpStorm & WebStorm 3.0 EAP 110.44

This week’s EAP brings important stability and performance fixes and some neat features

Posted in Early Access Program, PhpStorm, WebStorm | Tagged , , , | 8 Comments

Symfony Command Line Usage With Command Line Tool Support

Since PhpStorm 2.0 Symfony framework command line tool can be used inside PhpStorm by Command Line Tool Support. Let’s pass through a simple Symfony tutorial, and then create a custom task. You’ll need having PhpStorm 2.0 and Symfony 1.1 or … Continue reading

Posted in Cool Feature, PhpStorm | Tagged , , , | 21 Comments

Zend Framework Tool Usage With Command Line Tool Support

Zend Framework has a powerful command line tool, and it can be used inside PhpStorm by Command Line Tool Support. Let’s pass through a simple Zend Framework tutorial. You’ll need having PhpStorm 2.0 and Zend Framework installed on your computer.

Posted in Cool Feature, PhpStorm | Tagged , , , | 18 Comments

Autopopup documentation feature

PhpStorm & WebStorm are capable of showing you documentation related to PHP class, JS element or HTML tag just by pressing Ctrl+Q when cursor is on that element. You can call it up also when IDE suggests you to auto-complete … Continue reading

Posted in Cool Feature, PhpStorm, WebStorm | Tagged , , , , | 2 Comments

PhpStorm/WebStorm EAP build 95.117

Pack of fixes in all areas in this build along with couple of new features: PHP completion got new popup layout: added function signatures. Note that you can also open Quick Documentation popup (Ctrl-Q) right from this list. Feedback is … Continue reading

Posted in Early Access Program, PhpStorm, WebStorm | Tagged , , , | 9 Comments