Top "Blade" questions

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

Laravel 5.1 View not found

this seems to be an issue that pops up every now and then within Laravel. I was writing a CRUD …

php laravel laravel-5 blade homestead
Laravel Blade: @endsection vs @stop

In Laravel Blade, we can basically do this: @section('mysection') @endsection @section('mysection') @stop What is the difference between @stop …

php laravel-4 blade
How to set disabled select option in Laravel with Illuminate/Html

I'm starting with Laravel and I'm using Illuminate/Html for making forms. I want to add disabled attribute to the …

php forms laravel blade illuminate-container
What is the difference between Section and Stack in Blade?

We can use a section to define some HTML and then yield that somewhere else. So why do we have …

laravel templates blade
Parse error: syntax error, unexpected end of file, expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF)

Hello dear i want to create a customer blade which provides users to import and export excel file. My customers_…

laravel exception blade laravel-blade laravel-excel
Where to place Blade::extend

I want to add the following code to my laravel project to support the break and continue statements in blade. …

php laravel blade
laravel how to check if session variable is empty

How can I check if this session is empty, here example @elseif {{Session::get('package_id')}}=null @include('index.customer.…

php laravel laravel-5 blade laravel-session
Laravel Blade - Advantage of @slot/@component vs @include?

Laravel 5.4 Blade introduced the concept of components & slots - but I can't see what they add over the traditional @…

php laravel blade laravel-5.4 laravel-blade
Laravel 5.1 - icon in the page title

I am struggling with adding an icon into the page title. So far I have tried adding it like this : &…

php laravel laravel-5 blade page-title
How to do {{ asset('/css/app.css') }} in Lumen?

In Lumen, I can do this in my blade template: {{ url('/css/app.css') }} In Laravel I could do {{ …

laravel assets blade lumen