Template System Demo
Phase 1.3 - Advanced Template Engine with Blade Syntax
Template Engine Features
Template Inheritance
@extends and @section support
Blade Syntax
{{ }} for escaped echo, {!! !!} for raw
Control Structures
@if, @foreach, @while, @for
View Caching
Compiled templates for performance
View Composer
Share data across multiple views
Helper Functions
40+ utility functions
Blade-like Syntax Examples
1. Echo Statements
// Escaped echo
{{ $variable }} → Hello from template!
// Raw echo
{!! $html !! → Bold HTML
2. Conditionals
✓ Conditional is TRUE
3. Loops
#58a6ff
#3fb950
#d99922
#f85149
#bc8cff
4. Helper Functions
asset(): https://forumhub.raptorpanel.live/css/theme.css
url(): https://forumhub.raptorpanel.live/demo
e(): <script>alert("XSS")</script>
now(): 2025-12-06 03:45:38
str_limit(): This is a very long ...
12+
Directives
40+
Helper Functions
Yes
View Caching
Full
Inheritance