{"adoption": {"forks": 137, "observed_at": "2026-08-28T04:03:28.333750+00:00", "stars": 1072}, "canonical_url": "https://ross.abutalabs.com/products/bobthecow-ruler", "card": {"archived": false, "artifact_type": "library", "description": "A simple stateless production rules engine for modern PHP", "domain": ["developer-tools", "backend"], "enriched": true, "function": ["workflow-automation", "developer-tools"], "health_score": 20, "homepage": null, "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["bobthecow/Ruler"], "name": "bobthecow/Ruler", "platform": ["php", "cross-platform"], "pushed_at": "2022-06-27T14:53:05+00:00", "repo": "bobthecow/Ruler", "stars": 1072, "tags": ["rules-engine", "business-rules", "dsl", "stateless", "production-rules", "automation"], "topics": [], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/bobthecow-ruler", "repo": "bobthecow/Ruler", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.333750+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:53:40.721725+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1c43b0de8dbca8a8fbdc479253310c2d8f6f41cc9215973cfbd587d85a83566c", "fetched_at": "2026-08-28T04:03:28.333750+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bobthecow/Ruler"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.333750+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:53:40.721725+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1c43b0de8dbca8a8fbdc479253310c2d8f6f41cc9215973cfbd587d85a83566c", "fetched_at": "2026-08-28T04:03:28.333750+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bobthecow/Ruler"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:53:40.721725+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1c43b0de8dbca8a8fbdc479253310c2d8f6f41cc9215973cfbd587d85a83566c", "fetched_at": "2026-08-28T04:03:28.333750+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bobthecow/Ruler"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.333750+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.333750+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.333750+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:53:40.721725+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1c43b0de8dbca8a8fbdc479253310c2d8f6f41cc9215973cfbd587d85a83566c", "fetched_at": "2026-08-28T04:03:28.333750+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bobthecow/Ruler"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.333750+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.333750+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:53:40.721725+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1c43b0de8dbca8a8fbdc479253310c2d8f6f41cc9215973cfbd587d85a83566c", "fetched_at": "2026-08-28T04:03:28.333750+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bobthecow/Ruler"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.333750+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.333750+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.333750+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:53:40.721725+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1c43b0de8dbca8a8fbdc479253310c2d8f6f41cc9215973cfbd587d85a83566c", "fetched_at": "2026-08-28T04:03:28.333750+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bobthecow/Ruler"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.333750+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.333750+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:53:40.721725+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1c43b0de8dbca8a8fbdc479253310c2d8f6f41cc9215973cfbd587d85a83566c", "fetched_at": "2026-08-28T04:03:28.333750+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bobthecow/Ruler"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:53:40.721725+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1c43b0de8dbca8a8fbdc479253310c2d8f6f41cc9215973cfbd587d85a83566c", "fetched_at": "2026-08-28T04:03:28.333750+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bobthecow/Ruler"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:53:40.721725+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1c43b0de8dbca8a8fbdc479253310c2d8f6f41cc9215973cfbd587d85a83566c", "fetched_at": "2026-08-28T04:03:28.333750+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bobthecow/Ruler"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:53:40.721725+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1c43b0de8dbca8a8fbdc479253310c2d8f6f41cc9215973cfbd587d85a83566c", "fetched_at": "2026-08-28T04:03:28.333750+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bobthecow/Ruler"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5557, "days_push": 1528, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}