EPISODE · May 24, 2025 · 10 MIN
Understanding how Stringable works inside Blade views
from No Compromises · host Joel Clermont and Aaron Saray
Joel and Aaron dig into Laravel’s `Stringable` class and uncover how it can silently skip Blade’s automatic HTML escaping. They explain why that’s both a convenient feature and a potential security pitfall if user input isn’t properly sanitized. You’ll hear practical ways to keep your views safe without losing the API’s fluency.(00:00) - Stringable can sidestep Blade escaping (03:45) - Dangers of outputting unsanitized HTML (05:45) - Defensive strategies for safe rendering (08:45) - Silly bit Sign up for a short, but useful, Laravel tip each day in our newsletter
NOW PLAYING
Understanding how Stringable works inside Blade views
No transcript for this episode yet
Similar Episodes
Feb 24, 2026 ·13m
Feb 17, 2026 ·9m
Feb 11, 2026 ·7m
Feb 4, 2026 ·18m
Feb 3, 2026 ·7m
Jan 27, 2026 ·8m