Author Archives: Anton Monakov

HTTP Client in PhpStorm Overview

When developing a web service, you would usually test it by sending all kinds of HTTP requests to it and examining what’s returned. In PhpStorm, you can do this directly in the code editor. In this post, we’ll use the … Continue reading

Posted in Cool Feature, Newsletter, Screencast, Tutorial | Tagged , , , , | Leave a comment

Twig and Blade templates debugging

In PhpStorm 2019.1, we’ve implemented debugging of Twig and Blade templates. The problem was that template files are not the files your application runs. They are first compiled into regular PHP and saved to a cache directory, and then the … Continue reading

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

Locating Dead Code

When facing legacy code, probably the first thing you want to do is clean it up. PhpStorm 2019.1 can help you with this, particularly by finding and removing dead code with the new Unused Declaration inspection. It will carefully analyze … Continue reading

Posted in Cool Feature | Tagged , | 2 Comments

Refactorings, Intentions & Quick-Fixes in PhpStorm 2019.1

Every PhpStorm release comes with lots of new refactorings, intentions, and quick-fixes, and PhpStorm 2019.1 is no exception. In this release, we’ve enhanced the string juggling toolbox and made moving functions between files and classes easier. We’ve also added the … Continue reading

Posted in Cool Feature | Tagged , | Leave a comment

Code Quality Tools Support Enhancements

With PhpStorm 2018.3, you’ve got unified support and a straightforward setup process for several quality tools including PHPCS, PHPMD, and PHP CS Fixer. It seems natural to keep the corresponding settings in a single place, too. This is why we’ve … Continue reading

Posted in Cool Feature | Tagged , | 26 Comments

Autodetecting Test Frameworks

PhpStorm supports PHPUnit, Codeception, Behat, and PHPSpec test frameworks out of the box. Previously, to enable integration with them, you needed to perform two steps. First, you had to set up a configuration telling PhpStorm where the corresponding library was … Continue reading

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

New refactorings in PhpStorm 2018.3

Every PhpStorm release comes with new and enhanced refactorings, saving you from having to perform tedious manual tasks and making it easier for you to maintain your code. PhpStorm 2018.3 is no exception. In this release, we are introducing the … Continue reading

Posted in Cool Feature | Tagged , , | 3 Comments

Doctrine Query Language Support

When working with Doctrine ORM, the preferred, and probably the easiest, way to work with database queries is to use the Doctrine Query Language or DQL. DQL is a query language for your object model: instead of composing raw SQL … Continue reading

Posted in Cool Feature | Tagged , , | 4 Comments

Deployment To Multiple Hosts

With PhpStorm’s deployment capabilities, you can copy files and folders to remote servers. As a destination, you can use FTP/SFTP/FTPS as well as a local or mounted folder. You may often need to deploy to multiple servers: For example, if … Continue reading

Posted in Cool Feature | Tagged , | Leave a comment

PHP CS Fixer Support

PhpStorm already supports the popular code quality checking tools, PHPCS and PHPMD, which help you follow industry coding style standards (such as PSR-2), framework-specific standards, or your own team standards. Checking for standards compliance is great, but fixing issues by … Continue reading

Posted in Cool Feature | Tagged , , | 11 Comments