Posts tagged with phpstorm

Join thousands of developers

Every two weeks, I share practical tips, tutorials, and behind-the-scenes insights from maintaining 300+ open source packages.

No spam. Unsubscribe anytime. You can also follow me on X.

The mixin PHP DocBlock

by Freek Van der Herten – 5 minute read

When using PHP, you've probably used DocBlocks. They can be used to add additional information that can't be inferred by looking at the source code alone. DocBlocks can be used by IDEs, like PhpStorm, to improve autocomplete suggestions.

In this blogpost, I'd like to highlight a not so well known DocBlock: mixin.

Read more

Internal classes in PHP

nunomaduro.com

Nuno Maduro, engineer at Algolia, explains what is the value of the @internal tag

The PHP @internal tag can be used to denote that the associated class/method is internal to the library. It's supported by PHPStorm and it warns people that those classes/methods are not meant to be used

Read more [nunomaduro.com]

PHPStorm Inspections for your Continuous Integration Process

www.christianscheb.de

I was quite surprised to learn that it could make sense to run PhpStorm on the server too.

Did you know that PHPStorm (or any other Jetbrains IDE) can run inspections from command line and generate XML files for the results? This is a great “hidden” feature of those IDEs and machine-readable output means it can be somehow integrated with a continuous integration (CI) process. So let’s do this!

Read more [www.christianscheb.de]

Configuring PhpStorms code generation

by Freek Van der Herten – 4 minute read

I've been using PhpStorm for quite some time now, but never took the effort to fix a few minor annoyances I had with it. Getting rid of the default comment for new PHP files First up, when creating a new PHP file or class you PhpStorm will add this comment block like this by default: /** * Created…

Read more

Major performance problems when running PhpStorm on a scaled resolution

stitcher.io

It's very frustrating I can't use a scaled resolution on my Mac because of PhpStorm.

PhpStorm has had performance issues on OSX for a very long time now, sometimes to the point of being unusable. I've written about these issues before, but it's good to keep a regularly updated list of what's going on. So without further ado: if you're on OSX (Sierra, High Sierra or Mojave); if you're experiencing PhpStorm performance issues, this post might help you.

Read more [stitcher.io]

Rainglow: a collection of beautiful handcrafted themes

Dayle Rees, author of various popular books on PHP and Laravel, has recently blown new life into his efforts of creating IDE and terminal themes. He created themes for most of the popular apps out there including: PhpStorm, VS Code, Atom, iTerm2, ...

You can preview all the themes on: https://rainglow.io/

I've been using Dayle's Material Peacock for quite some time. Currently I'm digging white based themes and I'm on the GitHub theme.

github theme screenshot

Read more