Tag Archives: PhpStorm

PHPUnit installation via Composer in PhpStorm

Since version 3.7, PHPUnit allows us to install the test runner and optional dependencies using Composer. With PhpStorm 6, this workflow is now supported from the IDE. Using both the bundled Composer support and PhpStorm’s unit testing support, we can … Continue reading

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

Arrange your code automatically with PhpStorm (re)arranger

The easiest way to enhance code readability is to standardize its organization. For example, you can specify methods to be ordered after fields or keep dependent methods together. The good news is that starting with version 6, you can have … Continue reading

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

Composer support in PhpStorm

One of the great things that happened in PHP world was the introduction of Composer, a dependency manager for PHP which allows us to specify dependencies for our project and have Composer install and update them for us. With PhpStorm … Continue reading

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

Refactoring for Class Members in PhpStorm 6: Pull Up and Push Down

As you work on a big project, you often face the need to refactor your code to maintain it properly. Likewise, there are many situations when you start to add functionality from the bottom of the class hierarchy and then … Continue reading

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

Using the REST Client within PhpStorm and WebStorm

When building REST-based web APIs, it’s worth having a tool available to invoke them over HTTP. The current versions of WebStorm 6, PhpStorm 6, RubyMine 5.4 and PyCharm contain a bundled REST Client plugin which allows us to do just … Continue reading

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

TypeScript Support in WebStorm 6

One of the evolutions in JavaScript development is the new TypeScript language, an open-source superset of JavaScript that allows us to write code in a typed language which compiles to JavaScript. At JеtВrаins wе wоrk tirеlеssly tо bring аbоut mоrе … Continue reading

Posted in Cool Feature, WebStorm | Tagged , , , , , , , , | 14 Comments

Running CakePHP2 Unit Tests in PhpStorm

CakePHP2 comes with unit testing support powered by PHPUnit. In addition to the features offered by PHPUnit, CakePHP offers some additional features to make testing easier. Unit tests in CakePHP rely on a custom test runner which can be run … Continue reading

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

Using GitHub without leaving PhpStorm

In a previous post we saw how PhpStorm handles Version Control Systems (VCS). A very popular VCS is Git, driven by the collaboration that’s possible using GitHub. In this post, we’ll explore several integrations with GitHub that are available from … Continue reading

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

Rapid File Creation with File Templates

Many different files are created in the course of development, and the bigger your project grows, the more files it involves. However, most files are typical and can contain pre-defined information you don’t need to type every time you create … Continue reading

Posted in Cool Feature, PhpStorm, Screencast, Tutorial, WebStorm | Tagged , , , | 5 Comments

Continuous Integration for PHP using TeamCity

If you have multiple team members, you should be doing Continuous Integration (CI). By building the desired output artifacts on a frequent basis and analyzing their quality using unit tests and code coverage, you will find that there are fewer … Continue reading

Posted in Cool Feature, Tutorial | Tagged , , , , , , | 2 Comments