drinks-it / rule-engine
Rule Engine Bundle is a (sub)system which allows end-user to run specified actions if they met specified criteria(conditions) on specified events.
Installs: 6 494
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^8.1 || ^8.2 || ^8.3
- langleyfoxall/math_eval: ^2.0
- symfony/config: ^6.4 || ^7.0
- symfony/dependency-injection: ^6.4 || ^7.0
- symfony/http-kernel: ^6.4 || ^7.0
- symfony/serializer: ^6.4 || ^7.0
Requires (Dev)
- api-platform/core: ^3.0 || ^3.1
- doctrine/doctrine-bundle: ^2.3
- doctrine/orm: ^2.3
- friendsofphp/php-cs-fixer: ^2.19 || ^3.0
- phpunit/php-code-coverage: ^9.2 || ^10.0
- symfony/maker-bundle: ^1.31
- symfony/phpunit-bridge: ^5.0 || ^6.0
- symfony/validator: ^5.0 || ^6.0
- dev-main
- 2.1.0
- 2.0.2
- 2.0.1
- 2.0
- 1.0
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.4
- 0.3.3
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.10
- 0.2.9
- 0.2.8
- 0.2.7
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- 0.0.4
- 0.0.3
- 0.0.2
- 0.0.1
- dev-support-symfony-64
- dev-action-logs
- dev-main-upgrade
- dev-dev
- dev-feat/php-attributes
- dev-feat/boolean-condition
This package is auto-updated.
Last update: 2024-10-18 17:20:10 UTC
README
composer require drinks-it/rule-engine
depends
composer require drinks-it/rule-engine --with-dependencies
Bundle add
config/bundles.php
<?php return [ // ... another bundles DrinksIt\RuleEngineBundle\RuleEngineBundle::class => ['all' => true] ];
rule-engine configuration
doctrine: dbal: types: rule-engine-conditions: DrinksIt\RuleEngineBundle\Doctrine\Types\ConditionsType rule-engine-action: DrinksIt\RuleEngineBundle\Doctrine\Types\ActionType rule-engine-event: DrinksIt\RuleEngineBundle\Doctrine\Types\TriggerEventType
make entity
php bin/console make:rule-engine [Optional Name] php bin/console make:migration php bin/console doctrine:migrations:migrate