composer require drinks-it/rule-engine
composer require drinks-it/rule-engine --with-dependencies
config/bundles.php
<?php
return [
// ... another bundles
DrinksIt\RuleEngineBundle\RuleEngineBundle::class => ['all' => true]
];
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
php bin/console make:rule-engine [Optional Name]
php bin/console make:migration
php bin/console doctrine:migrations:migrate
How can I help you explore Laravel packages today?