PHPStorm

PHPStorm like its name suggests is IDE for PHP. It’s very advanced IDE with lots of features like multi-line editing, search&replace with regular expressions etc.

PHPStorm’s code is built with JAVA and it has really lots of plugins pre-installed so if you have a little slower computer I suggest you un-check a few.

This article assumes that you’re relatively familiar with Symfony2 and since you’re familiar I’ll assume you also know about Symfony2 services.

Now I don’t know about you but I love using Symfony2 service and I like the whole idea behind service oriented architecture.

The problem is that if you wish to use services in your controller you have to memorize service names. To solve that problem you can use PHPStorm’s plugin called “Symfony2 plugin”.

It reads the cache of your symfony2 application and suggests you services as you type them in.

symfony2,cache

Apart from enabling you to access your services it enables you to create them relatively easy.

For example, if you were to create a service

Afterwards you right click on your service and click create service. Notice how I declared classes in constructor that will enable symfony2 plugin to automatically detect services that are to be injected for you.

symfony2,create_service

This is only small part of what PHPStorm can do for you so if you’re doing any kind of PHP development I suggest you check PHPStorm 8 EAP ( Early Access Program )