Category Archives: Tutorial

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

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

Navigate your code with bookmarks

While coding you continuously move from one part of your code to another, switching between classes, functions, files, etc. You have to keep in mind so many places in the code that you are currently working on. No wonder then … Continue reading

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

Find your way around your code

You constantly move around your project – switching between editor tabs, navigating to files, directories, classes, functions, comments, declarations, and so on and so forth. It’s easy to lose direction when you move and always have to think where to … Continue reading

Posted in Cool Feature, PhpStorm, Tutorial, WebStorm | Tagged , , | 3 Comments

SQL support and Database tools

As you work with databases in your project, there are quite a lot of routine tasks that have to be performed on a regular basis. However, now there is a great way to do it right from your IDE. You … Continue reading

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

High-speed coding with Custom Live Templates

Usually in our code we have a lot of pattern structures such as conditionals (if, else), loops (for, while, foreach), tag structures (HTML tables, ul listings) and others. One of the most important things we should think about while coding … Continue reading

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

Integrating Composer command line tool with PhpStorm

Built-in Command Line Tool support plugin provides autocompletion and documentation for any command line based tools. It needs just an xml commands description to support new tool. We plan to add automatic recognition of composer and other popular tools in future, but … Continue reading

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

Using Local History for code changes tracking

Do you use version control system such as Git, CVS, Mercurial, Subversion or any other and enjoy all the things they are doing to keep track of your code? If you do we have Local History to expand VCS functionality … Continue reading

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