PhpStorm 2019.1 Blade Debugging Support and a Laravel Code Style Preset

JetBrains announced the release of PhpStorm 2019.1 this week with debugging support for Blade (and Twig) templates and a new predefined Laravel code style configuration.

Upgrade your Laravel applications to Laravel 5.8 and get XDebug ready to start debugging Laravel Blade templates in PhpStorm 2019.1!

Thanks to a Laravel 5.8 contribution for including the Laravel 5.8 Blade Template File Path in compiled templates, now you can set a breakpoint directly in a blade file instead of having to search for the compiled template and setting a breakpoint:

Another Laravel-related feature in PhpStorm 2019.1 is a predefined Laravel code style setting. You can configure it for your project from the preferences menu — Settings > Editor > Code Style > PHP and then select “set from > Predefined Style > Laravel”:

If you want to get a quick overview of what’s new, check out this video from JetBrains:

The official PhpStorm blog has a PhpStorm 2019.1 release announcement post with all the details of the release.