标尺:Hoa \ Ruler库

时间:2021-02-03 12:50:12
【文件属性】:
文件名称:标尺:Hoa \ Ruler库
文件大小:89KB
文件格式:ZIP
更新时间:2021-02-03 12:50:12
php library rule-engine business-rules hoa Hoa是一组模块化,可扩展和结构化PHP库。 此外,Hoa旨在成为工业界和研究界之间的桥梁。 Hoa \ Ruler 该库允许操纵规则引擎。 可以使用非常接近SQL的专用语言编写规则。 因此,它们可以由用户编写并保存在数据库中。 这样的规则对于例如需要操纵用户编写的促销或特价规则的商业解决方案很有用。 引用: 业务规则引擎是一种在运行时生产环境中执行一个或多个业务规则的软件系统。 这些规则可能来自法律法规(“员工可能因任何原因或无缘无故被解雇,但并非出于非法原因”),公司政策(“一次花费超过100美元的所有客户将获得10%的折扣”) )或其他来源。 业务规则系统使这些公司策略和其他操作决策可以与应用程序代码分开定义,测试,执行和维护。 。 安装 使用 ,要将此库包含到您的依赖项中,您需要 : $ composer require hoa/ruler ' ~2.0 ' 有关更多安装过程,请阅读。 测验 在运行测试套件之前,必须安装开发依赖项: $ composer install 然后,运行所有测试套件: $ vendor/bin/hoa test:run 有关更多信
【文件预览】:
Ruler-master
----Visitor()
--------Compiler.php(7KB)
--------Asserter.php(17KB)
--------Interpreter.php(8KB)
--------Disassembly.php(5KB)
----Documentation()
--------Fr()
--------En()
----Exception()
--------Asserter.php(2KB)
--------Interpreter.php(2KB)
--------Exception.php(2KB)
----Test()
--------Unit()
--------Integration()
----Bin()
--------Assert.php(3KB)
----.travis.yml(1KB)
----Context.php(4KB)
----.State(10B)
----README.md(9KB)
----Grammar.pp(3KB)
----Ruler.php(5KB)
----DynamicCallable.php(2KB)
----.gitignore(24B)
----Model()
--------Model.php(5KB)
--------Operator.php(6KB)
--------Bag()
----bors.toml(74B)
----CHANGELOG.md(8KB)
----composer.json(1KB)

网友评论