Download the PHP package easyblue/rules-engine without Composer
On this page you can find all versions of the php package easyblue/rules-engine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download easyblue/rules-engine
More information about easyblue/rules-engine
Files in easyblue/rules-engine
Package rules-engine
Short Description Provides tools for rules engine pattern
License MIT
Informations about the package rules-engine
easyblueio/rules-engine
Provides tools for rules engine pattern
Installation
Install this package as a dependency using Composer.
Usage
In PHP app
You can create an instance of rule engine with passing processor.
In Symfony app
First, register the bundle in config/bundles.php
You can configure engines in config/packages/rules_engine.{yaml|php|...}
`
The key profile
is the name of the engine that will process on each rules_engine.profile.processor
tagged service.
You simply can implements Easyblue\RulesEngine\Core\ProcessorInterface
and use AsProcessor
attribute like this :
An instance of Easyblue\RulesEngine\Core\RulesEngine
is available in the container, so you can inject it in your services.
List all engines configured with bin/console debug:autowiring rules_engine
Contributing
Contributions are welcome! To contribute, please familiarize yourself with CONTRIBUTING.md.
Copyright and License
The easyblueio/rules-engine library is copyright © Stello and licensed for use under the terms of the MIT License (MIT). Please see LICENSE for more information.
All versions of rules-engine with dependencies
symfony/config Version ^7.0
symfony/dependency-injection Version ^7.0
symfony/framework-bundle Version ^7.0
symfony/http-kernel Version ^7.0
symfony/string Version ^7.0