serendipity_hq/component-then-when
Serendipity HQ's Component Then When adds fluent then() and when() helpers to Laravel components, letting you chain conditional logic and post-processing directly in component definitions. Lightweight and easy to drop in, it means cleaner, more expressive code with less boilerplate.
component-then-when from Serendipity HQ provides a compact Then/When component for Laravel/PHP applications, making conditional component rendering more expressive and readable. It lets you describe branching behavior declaratively, so templates and callbacks stay focused instead of being cluttered with nested conditionals.
How can I help you explore Laravel packages today?