Doctrine Behavioral Extensions for Symfony.
Please see https://github.com/sasedev/doctrine-behavior and https://github.com/stof/StofDoctrineExtensionsBundle
$ composer require sasedev/doctrine-behavior-bundle
Composer will install the bundle to your project's vendor directory.
The orginal source is from Stof (https://github.com/stof/StofDoctrineExtensionsBundle)