frontastic/rulerz-bundle
Symfony bundle integrating the RulerZ rule engine, letting you define business rules as readable specifications and apply them to arrays, Doctrine query builders, and other collections for flexible, reusable filtering.
if/else (cheap today, costly at the third rule change), a commercial BRMS or feature-flag SaaS (real money, real lock-in, but authoring UI and audit included), or an in-house DSL (highest cost, highest fit). RulerZ sits in the middle: free and expressive, but you own the authoring UX and operational tooling around it.frontastic/rulerz-bundle is Symfony DI wiring for RulerZ, not the engine. It is a vendor fork (Frontastic, now part of commercetools) with 0 stars, 0 dependents, and a near-zero opportunity score. The product decision is "adopt RulerZ?" — and this bundle is an implementation detail to be resolved by engineering, almost certainly in favor of the upstream k-phoen/rulerz-bundle.Consider it only if: you are already inside the Frontastic/commercetools package ecosystem and need version parity with their stack; or you are on Symfony with RulerZ already in the codebase and this fork is what your dependency graph resolved to.
In every other case, look elsewhere:
k-phoen/rulerz plus k-phoen/rulerz-bundle is the maintained lineage with actual community usage. A 0-star, 0-dependent fork provides no independent security response path, no upgrade path separate from the vendor, and no reason to be in your composer.json.To executives: There is a small, MIT-licensed capability — a rules engine called RulerZ — that would let us express eligibility and targeting logic (who gets which price, promotion, or content) as configurable rules rather than code changes, shortening the loop between a commercial idea and shipping it. It is not a platform purchase and is easily reversed. However, the specific package in front of us is a vendor fork with effectively zero community footprint, and it targets Symfony rather than our Laravel stack. My recommendation is to approve a one-week spike against the upstream project rather than commit to this fork. The decision is cheap now and only gets expensive if we later build a rule-authoring UI on top of it — which is a separate, larger call.
To engineering: This is a Symfony bundle that registers RulerZ's compiler and specification services in the container — small surface area, quick to prototype against, and essentially a reference implementation of the wiring we would write ourselves. The catch is maintenance: 0 stars, 0 dependents, pinned to Frontastic's stack, no response path for CVEs or Symfony/PHP majors, and it will not install cleanly on Laravel 10/11. Proposal: treat the bundle as documentation only; spike on k-phoen/rulerz core to confirm it runs on PHP 8.2+ and that the DSL covers our top three rule types; then ship a thin internal adapter (service provider, config, RuleEvaluator contract, compiled-rule cache). Keep rule definitions storage-agnostic so swapping the engine later stays cheap, and fall back to this fork only if we are already transitively dependent on Frontastic packages.
Net recommendation: Evaluate RulerZ as a capability via the upstream library; do not adopt this bundle as a dependency unless ecosystem constraints force it.
How can I help you explore Laravel packages today?