my-com/laravel-conditional-actions
A Laravel package for defining conditional actions: attach rules to actions and run them only when their conditions are met. It helps keep decision logic organized, reusable, and easy to integrate into Laravel apps with a simple, expressive API for common workflows.
Laravel Conditional Actions lets you attach business logic to model events only when conditions are met, keeping your observers and controllers clean. Define guard clauses and action classes declaratively, then let the package evaluate them before executing anything—no more scattered if statements around your domain rules.
How can I help you explore Laravel packages today?