This version of the bundle requires Symfony 2.8+.
composer require chaplean/doctrine-extensions-bundle
Add
new Chaplean\Bundle\DoctrineExtensionsBundle\ChapleanDoctrineExtensionsBundle(),
new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
Add lines
doctrine:
orm:
mappings:
translatable:
type: annotation
alias: Gedmo
prefix: Gedmo\Translatable\Entity
# make sure vendor library location is correct
dir: '%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Translatable/Entity'
loggable:
type: annotation
alias: Gedmo
prefix: Gedmo\Loggable\Entity
dir: '%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Loggable/Entity'
tree:
type: annotation
alias: Gedmo
prefix: Gedmo\Tree\Entity
dir: '%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Tree/Entity'