PhpStorm IDE at Yoast

PhpStorm has been growing in popularity in WordPress circles. On one hand it’s a solid code editor choice in general. On another it’s great for projects in the WordPress ecosystem, which typically contain a balance of legacy code and modern PHP practices.

I remember troubleshooting some issue in Yoast SEO years ago. I grumped that it wouldn’t be an issue if they’d just use PhpStorm over there. By now I can attest that it has become a staple choice among developers on Yoast projects.

Yoast dev blog image

Basic IDE advantages

The choice between code editors and development environments (IDEs) is an old holy war. If a meek one, many developers would use either and both for different tasks:

  • Editors focus on lightweight performance and core tasks of writing and changing code.
  • IDEs are more demanding on resources, as they provide a vast number of extra functions. Beginning with searching and refactoring, to integration with external tools and processes.

I would say that the most important advantage of IDE is that it “sees” a project as a whole. Not just one source file at a time.

Specifics of Yoast projects

Yoast projects have some of the longest developed and widest deployed WordPress code (outside of core itself).

The resulting volumes of code now span work of many developers and whole eras of PHP development. From centralized and storage–centric Subversion, to a current of distribution and collaboration–centric GitHub. Towards whatever the future has in store for us.

PhpStorm helps in projects like this, in such areas as:

  • code navigation, makes it easy to study existing code and grasp how it works;
  • code refactoring, simplifies maintenance of code and reduces the possibility of breakage;
  • tools integration, centralizes workflows and automation tasks, such as code style checks and unit tests.

The team’s favorite PhpStorm features

I’ve asked Yoast developers about their favorite PhpStorm features, so here they are:

As you can see many of the features mentioned above relate to code navigation and generation. Other cover using related tools without leaving the editor.

Overall

PhpStorm is an important tool at Yoast. It helps developers by making it easier to navigate and create code. On top of that it integrates and supports the other tools in one single environment.

Coming up next!


2 Responses to PhpStorm IDE at Yoast

  1. Andrey “Rarst” Savchenko

    I hadn’t used Sublime myself, but as far as I know it’s in a “code editor” rather than IDE camp. In terms of “better” it means that it just has different balance of performance to features. I know both developers who tried PhpStorm and stayed with Sublime and those who had switched over. Matter of personal preference and needs.

  2. IDC
    IDC  • 8 years ago

    So what do you think about Sublime Text? Phpstorm better than Sublime Text?