Laravel 5.8 Blade Template File Path

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.


Filed in: Laravel 5.8


Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.

Laravel News Partners

Laravel Jobs

Full Stack or Back-End Developer
Alexandria, VA; Tallahassee, FL; Orlando, FL
Marketing for Change
Senior Quality Assurance Engineer
Remote
Bisnow Media
Senior PHP/Laravel Developer: Your Dream Work Environment
Remote
iPhone Photography School
Senior Software Engineer
Remote or San Francisco
Curology
Laravel Developer
Las Vegas, NV
V Shred
R&D Developer
Denver, CO
booj
Full-Stack Developer
Paris, France
Wingly