digital-creative/conditional-container
Conditional Container for Laravel lets you render Blade components or HTML containers only when given conditions are met, keeping your views clean and readable. It supports flexible closures, gate checks, and inline conditionals for cleaner templates.
Conditional Container is a lightweight Laravel package for cleanly rendering content only when a condition is met. Instead of scattering repetitive @if blocks throughout your Blade templates, wrap markup in a reusable container component and keep views readable, expressive, and easy to maintain.
@if / @endif blocks with cleaner templatesHow can I help you explore Laravel packages today?