edalzell/blade-directives
A handy collection of custom Laravel Blade directives that add convenient shortcuts for common template logic, conditionals, debugging, and more, helping you write cleaner, more readable views without extra PHP.
Blade Directives is a Laravel package by Ed Alzell that adds a collection of handy custom Blade directives to keep your templates clean and readable. It bundles common conditional and utility helpers so you can avoid verbose @if/@php blocks in your views.
@istrue / @isfalse for concise boolean checks@dump and @dd for quick debugging in views@pushonce to push a stack snippet exactly once@style / @script for inline asset blocks@loop shorthand for iterating collectionsInstall via Composer and use the directives immediately—no configuration required.
How can I help you explore Laravel packages today?