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
Component Then When

Component Then When Laravel Package

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.

View on GitHub
Deep Wiki
Context7

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.

  • Expressive then/when syntax for conditional component logic
  • Fits naturally into Laravel Blade/component workflows
  • Keeps branching logic declarative and readable
  • Lightweight, easy to install and test
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.
vento/laravel-airbrake
wfeller/laravel-batch
maco-studios/mage-os-installer
busarm/armie
siberfx/laravel-logger
kfteam1991/dcat-admin
dashed/dashed-laposta
dashed/dashed-ecommerce-montaportal
dashed/dashed-ecommerce-etsy
neohq/string-blade-compiler
log1x/acf-composer
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core
nodisrupt/laravel-agent
sierratecnologia/media-manager