PHP code example of drinks-it / rule-engine

1. Go to this page and download the library: Download drinks-it/rule-engine library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

drinks-it / rule-engine example snippets




return [
    // ... another bundles
    DrinksIt\RuleEngineBundle\RuleEngineBundle::class => ['all' => true]
];
shell
php bin/console make:rule-engine [Optional Name]
php bin/console make:migration
php bin/console doctrine:migrations:migrate