Looks like you aren't using the .blade.php
extension. The file wont use the Blade engine if your extension is .php
.
Either rename your file to XX.blade.php
or use <?php ... ?>
tags for your PHP code.
Wow.. It works!
It was an inclusion file in my layout and I forgot to use Blade extension!
You saved my time, thank you so much Marwelln!
Sign in to participate in this thread!