Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Blade Directives

Blade Directives Laravel Package

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.

View on GitHub
Deep Wiki
Context7

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 collections

Install via Composer and use the directives immediately—no configuration required.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections