PHP code example of php-alchemist / doctrine-behaviors

1. Go to this page and download the library: Download php-alchemist/doctrine-behaviors 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/ */

    

php-alchemist / doctrine-behaviors example snippets

shell
composer 
yaml
php_alchemist_doctrine_behaviors:
  decision_service: ~
yaml
php_alchemist_doctrine_behaviors:
  decision_service: App\Service\DoctrineBehaviorDecisionService
yaml
php_alchemist_doctrine_behaviors:
  behaviors:
    liable: true
    timestampable: true
    soft_deleteable: false