Blade हे Laravel चा templating engine आहे — हे तुम्हाला साफ syntax ({{ }}, @directives) सह dynamic HTML लिहू देते जी सरळ PHP मध्ये compile होते. हे template inheritance, components, आणि built-in XSS protection प्रदान करते, views ला readable आणि secure ठेवते.
डेटा output करणे (auto-escaped)
<h1>{{ $title }}</h1> {{-- echoes $title, AUTO-ESCAPED (XSS-safe) --}}
<p>{{ $user->name }}</p>
{!! $trustedHtml !!} {{-- unescaped — use ONLY for trusted HTML --}}
