PhpStorm Articles and Tutorials


Setup Step Debugging in PHP with Xdebug 3 and Docker Compose
April 10, 2021

Setup Step Debugging in PHP with Xdebug 3 and Docker Compose

In versions of Xdebug before version 3 setting up step debugging for code inside Docker containers has often been challenging to say the least. However, in version 3 it’s become almost trivial. In this short tutorial, I’ll step you through what you need to do, regardless of the (supported) text editor or IDE you’re using.

How to Run Tests in PhpStorm
April 3, 2020

How to Run Tests in PhpStorm

PhpStorm offers so much functionality. From syntax highlighting to Docker integration, it’s an extremely comprehensive tool. However, have you ever thought of using it to run your unit tests? In this article, I step you through running tests, from an entire suite to an individual test.

How to Set Up PHP Debugging with PhpStorm, Xdebug, and PHPUnit
April 3, 2019

How to Set Up PHP Debugging with PhpStorm, Xdebug, and PHPUnit

Still using var_dump to debug your PHP code? Stop! While var_dump can be convenient, it’s a very blunt approach. In this article, I’ll show you how to set up proper debugging with PhpStorm, Xdebug, and PHPUnit, and give you a modern, sophisticated debugging experience.

Vim - The Distraction Free Editor
April 20, 2017

Vim - The Distraction Free Editor

A little while ago, I took to Twitter in a sense of jubilant excitement announcing that VIM was THE distraction-free editor. As it’s been quite some time since, I honestly don’t remember exactly what it was that motivated me to do so.

How To Refactor Code With PhpStorm
April 25, 2016

How To Refactor Code With PhpStorm

Refactoring code is an essential aspect of building and maintaining software. In this tutorial I will show you how to use PhpStorm’s refactoring functionality to make it as easy as possible.

Enforcing PSR 1 & 2 in PHPStorm
April 19, 2014

Enforcing PSR 1 & 2 in PHPStorm

As software developers you should use coding standards. In today’s post, learn how to enforce the PSR-1 and PSR-2 coding standards with PHPStorm.