symftony/xpression
PHP expression language that parses and compiles dynamic string expressions, letting you safely evaluate configurable logic with custom functions, variables, and operators—ideal for business rules, configs, and validation.
AND / OR / NOT composites. The real decision isn't "buy vs. build capability" (it's a few dozen lines either way); it's whether to standardize a shared Specification convention across the codebase.if chains or one-off query scopes (e.g., "customer is active AND (tier = gold OR LTV > X)").How can I help you explore Laravel packages today?