Ross ROSS = Recommend OSS · open-source software intelligence for agents

bobthecow/Ruler

A simple stateless production rules engine for modern PHP observed · 2026-08-28

github.com/bobthecow/Ruler · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 5557
  • days_rel: n/a
  • days_push: 1528
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1072 stars · 137 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Ruler is a simple, stateless production rules engine for PHP that lets developers define business rules as composable propositions (comparisons, logical operators) evaluated against a context. It provides both a fluent RuleBuilder DSL and a lower-level object API for building conditional rules with actions.

Use cases

  • evaluate business rules in php
  • build a rules engine for conditional logic
  • check if values satisfy conditions like ranges
  • define composable if-then rules without hardcoding
  • implement feature gating or eligibility checks
  • separate business rule logic from application code

When to choose

  • you need a lightweight, stateless rules engine in PHP
  • you want a readable DSL for composing comparison and logical operators
  • you need rules evaluated against dynamic context values, including lazy closures

When to avoid

  • you need a full forward-chaining inference engine or RETE algorithm
  • you need persistent, hot-reloadable rules managed by non-developers
  • your project is not PHP

Facets

library · maturity maintenance

workflow-automation developer-tools developer-tools backend php cross-platform rules-engine business-rules dsl stateless production-rules automation

1 source

Member repositories

RepositoryRoleHealth v2
bobthecow/Rulermain23

For agents

markdown · JSON · MCP: product_card(name="bobthecow/Ruler")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem