philiprehberger-rule_engine is an open-source Ruby library designed to facilitate the creation and evaluation of rules using declarative conditions and actions. The tool allows users to define rules that respond to specific facts, supporting scenarios such as applying discounts or granting access based on input data. It is aimed at developers working in Ruby environments who require a flexible way to manage business logic or conditional workflows.
The engine supports several advanced features, including rule prioritization, first-match evaluation mode, composite conditions using logical helpers, and rule tagging for organizing and selectively evaluating subsets of rules. Developers can dynamically add, enable, disable, or remove rules at runtime, and can chain rules together to process data through multiple stages. Execution statistics are tracked for each rule, providing metrics such as evaluation counts, matches, average execution time, and last triggered timestamp. The library also offers a dry run mode to evaluate which rules would match without executing their actions, conflict detection between rules, and validation to identify incomplete or problematic rule definitions. Serialization and deserialization of rule engine configurations are supported, enabling persistence and restoration of rule sets.
1 or higher. It can be installed directly via RubyGems or added to a project's Gemfile. philiprehberger-rule_engine is distributed under the MIT license, making it freely available for both personal and commercial use. The project is developed by Philip Rehberger and is part of the ScopeForged collection of open-source packages.
In the Frameworks & SDKs space, philiprehberger-rule_engine takes a focused approach. It focuses on defining and evaluating complex business rules in Ruby applications without manual logic coding. It is built as an open-source project for ruby developers. The project is open source (MIT). philiprehberger-rule_engine is available on the web and the command line, and it can be self-hosted.
Philip Rehberger builds and maintains philiprehberger-rule_engine, and it first shipped in 2014. Development happens publicly on GitHub with 5 commits in the last 90 days. Key capabilities include declarative rules, custom actions, and condition evaluation.
Summary written by a language model from the project’s public pages.
What PulseGate has recorded for this listing
Closest matches by what these projects do