Compiled blade templates in Laravel 5.8 will include the blade template path thanks to a contribution from Olga Strizhenko (@bzixilu) of JetBrains:
— Taylor Otwell (@taylorotwell) February 18, 2019
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
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
- Web Developer
Livesystems dooh AG
- Senior Backend Engineer
- Senior Laravel Developer
- Full-Stack Developer (JS - Vue.js, PHP - Laravel)
US Remote / Telecommute
- Backend Engineer
- Back-End Developer
Christ for all Nations
- Senior Software Developer
Avoid Database and File Data Disasters in Just 2 Minutes with Ottomatik (Sponsor)
Ottomatik.io makes it simple to automatically backup your files and databases on schedule and off-site. We securely h…
Snipe Migrations Laravel Package
Snipe Migrations is a Laravel package by Dustin Fraker for “blazing fast” database migrations for tests.