{"repo":"MilliPress/MilliRules","free":true,"listed":false,"github":"https://github.com/MilliPress/MilliRules","clone":"git clone https://github.com/MilliPress/MilliRules.git","description":"A declarative rule engine for PHP that turns complex conditional logic into readable \"when-then\" rules. Features a fluent builder API, lazy-loaded context for performance, smart operator inference, and works seamlessly in pure PHP or WordPress.","language":"PHP","stars":16,"topics":["actions","conditions","fluent-api","php","rules","wordpress"],"license":null,"category":"machine-learning","readme_excerpt":"MilliRules A flexible, framework-agnostic rule evaluation engine for PHP 7.4+. Overview MilliRules is a powerful rule engine that allows you to define complex conditional logic using a fluent API. It's designed to be framework-agnostic while providing specialized support for HTTP and WordPress environments. Features - Fluent API : Build complex rules with an intuitive, chainable syntax - Framework Agnostic : Core engine works with any PHP application - Lazy-Loaded Context : On-demand loading of context data for optimal performance - HTTP Support : Built-in conditions for request handling - WordPress Integration : Native support for WordPress queries and context - Extensible : Easy to add custom conditions and actions - Flexible Naming : Use snake case or camelCase — when all() and whenAll() both work - PHP 7.4+ Compatible : Works with PHP 7.4+, PHP 8.0+ recommended Installation Quick Start Documentation See the full documentation for detailed guides and API reference. Community The Discord server and GitHub Discussions are places to swap setups, trade tips, and share your ideas for where MilliRules should head next. We're listening. For bug reports, open a GitHub issue. License GPL-2.0-or-later","default_branch":null,"files":null,"tree":[],"storefront":"/r/MilliPress","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MilliPress/MilliRules/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}