Libraries tagged by condition tree
tangible/rule-engine
258 Downloads
Extensible rule engine: AND-of-OR condition trees built on tangible/ast, with WP filter-driven operand registration.
tklein/php-combine-conditions
24 Downloads
Generic representation of conditional structure/tree library for PHP.
thelia/query-builder-module
14 Downloads
QueryBuilder module for Thelia 3 — Generic rule engine: build condition trees in the back-office, compile them to SQL and trigger actions (product lists, cart and product discounts) on front-office hooks and through the API.
samsonframework/string-condition-tree
7 Downloads
SamsonFramework string condition tree generator
mouf/utils.common.conditioninterface
557393 Downloads
This package contains one interface for condition, and a few classes that implement it. For instance, AndCondition that requires all conditions to be met, and OrCondition that requires at least one condition to be met. A condition is a class that possesses an 'isOk' method. The condition returns true if the condition is met, and false otherwise.
drupal-eca-recipe/eca_lib_0002
104 Downloads
Demonstrates how conditions are combined in ECA, where a successor link carries at most one condition and every combination is therefore built from the arrangement of links. The model shows the three idioms that follow from that constraint. An AND is chained through a pass-through action, an OR is drawn as several conditioned links into one target, and a nested combination composes the two into (A or B) and (C or D). It is driven entirely from the command line, reading three inputs from Drupal persistent state and reporting which of its three rules matched, so that changing one input and triggering again shows a different set of paths.
codemommy/isphp
596 Downloads
Judge condition true or false
drupal-eca-recipe/eca_lib_0026
94 Downloads
Adds a role to a user once three stored conditions are all met, and removes it again as soon as any of them stops being true.
drupal-eca-recipe/eca_lib_0051
1 Downloads
Scores every newly submitted comment for toxicity and spam with one AI call that returns a strict JSON verdict, then routes that verdict through ordinary ECA conditions into one of three exits: publish, hold for review, or block. The thresholds are two "Token: set value" actions in the model, not numbers in the prompt, so the policy can be changed without touching the prompt. Every run writes both scores, both thresholds and the exit taken to the eca_comment_verdict log channel, and a failed or undecodable AI response holds the comment instead of publishing it. Requires the ai_integration_eca and eca_tamper contributed modules, and a chat model that supports structured output has to be selected in the "Ask AI to score the comment" action.
mavenbird/module-free-shipping-admin
0 Downloads
The Free Shipping Admin module enhances Magento 2's admin interface by providing administrators with advanced tools for configuring and managing free shipping options. This module simplifies the process of setting up promotional free shipping rules and conditions, streamlining shipping management and improving promotional flexibility within the admin panel.
vukovicpredrag/open-house-reengagement-template
0 Downloads
Re-engagement flow with email open tracking, landing page visit condition and a last-call reminder
sepiariver/binliner-php
5 Downloads
A Binary Sequence Validator for PHP
hdgarau/logic-gate
8 Downloads
Set a reference value and compare with another. Evaluate some coditions as tree (AND/OR) and return true/false.
larawave/logic-as-data
0 Downloads
Treat your business logic as data with this dynamic, data-driven engine for Laravel.
solspace/craft3-freeform-pro
33260 Downloads
Adds API integrations, reCAPTCHA, conditional rules logic, premium field types, advanced exporting and widgets to Freeform.