Laravel 5.8 Blade Template File Path

Compiled blade templates in Laravel 5.8 will include the blade template path thanks to a contribution from Olga Strizhenko (@bzixilu) of JetBrains:

This change provides the opportunity for Blade debugging in PhpStorm through mappings to the blade template. If you’re interested in following along, you can see the associated JetBrains issue WI-26476 – Enable php debugging in Blade file.

If you want to experiment with blade template paths, and other Laravel 5.8 features you can create a 5.8 project with:

laravel new --dev myproject

You’ll have something like the following template after you request the homepage:

With the release of Laravel 5.8 on the horizon, the documentation is taking shape and it would be an excellent idea to review Upgrading to 5.8 from 5.7.