Top "Blade" questions

Blade is the simple, yet powerful templating engine provided with Laravel.

Laravel 5 - global Blade view variable available in all templates

How can I in Laravel 5 make global variable which will be available in all Blade templates?

templates laravel view laravel-5 blade
laravel 5.2 How to get route parameter in blade?

this is my url http://project.dev/blogs/image-with-article so, here I need the parameter image-with-article in my blade to …

php laravel laravel-5.2 blade laravel-blade
use DELETE method in route with Laravel 5.4

I'm working on a Laravel (v 5.4) project and i did the CRUD to manage categories. Currently, i can create a …

php laravel blade
How to capitalize first letter in Laravel Blade

I'm using laravel (5.1) blade template engine with the localization feature. There is a language file messages.php within the /resources/…

php laravel blade laravel-5.1
How to send data using redirect with Laravel

I developed an API to show a pop up message when the page loaded. Not all the pages use the …

php laravel laravel-4 blade
How do I disable Laravel view cache?

I have an exception in one of my views. However, instead of telling me the name of the view so …

caching laravel blade
Trying to get key in a foreach loop to work using blade

if I use {{$node[0]->url}} then Laravel's templating engine dislays the correct result but I can not figure …

php laravel blade laravel-blade
How to break a foreach loop in laravel blade view?

I have a loop like this: @foreach($data as $d) @if(condition==true) {{$d}} // Here I want to break the …

php laravel foreach blade
Laravel blade "old input or default variable"?

I want to show the old input in input value. If there isn't old input, than show other variable: value="{{ …

php laravel concatenation blade laravel-blade
Laravel 5: Change navbar if user is logged

I'm completely new to Laravel, MVC and templating engines in general. I need to show certain navbar buttons and options …

php laravel-5 blade