PhpStorm 2020.3 is here with support for PHP 8 and Tailwind CSS

News

December 3rd, 2020

phpstorm-lead.jpg

PhpStorm 2020.3 is now available with full support for all new PHP 8 features, Psalm and PHPStan support, Xdebug 3, Code With Me, and Tailwind CSS.

If you prefer visuals, check out this video highlighting what’s available in PhpStorm 2020.3:

PHP 8 Language Support

PhpStorm 2020.3 offers full PHP 8 support with inspections that highlight incorrect code usage with accompanying quick-fixes.

The IDE will also support various custom PHP 8 attributes out of the box. For example, with the #[Immutable] attribute on a class or property, PhpStorm will check the usage of objects and mark change attempts as invalid:

1#[Immutable]
2class Example
3{
4 public function __construct(
5 public string $greeting
6 ) {}
7}
8 
9$example = new Example('Hello');
10// PhpStorm will mark this line as invalid
11$example->greeting = 'Goodbye';

Static Analysis Tools

PhpStorm 2020.3 comes with support for two popular static analysis tools in PHP: Psalm and PHPStan. Starting with this release, PhpStorm has first-class support for these tools, which will help you highlight problems in the editor and better support for Psalm annotations.

Code With Me

Code With Me is a first-party service by Jetbrains for remote collaborative development and pair programming, and it now comes bundled in PhpStorm 2020.3. It provides simultaneous editing and permissions management so you can control what code is editable, read-only, or hidden from others.

Tailwind CSS

PhpStorm 2020.3 offers first-party support, which can help you with auto-complete classes in HTML files and after the @apply directive. It also provides auto-complete suggestions for pseudo-class variants. It even has support for customizations you make in the tailwind.config.js configuration file and provides completion for your customizations.

Learn More

The official release announcement highlights all the significant features in this release. You can dive deep by checking out the PhpStorm 2020.3 Release Notes to see everything about this release.

Filed in:

Paul Redmond

Full stack web developer. Author of Lumen Programming Guide and Docker for PHP Developers.