symfony doctrine add code example Example: symfony install doctrine $ composer require doctrine/doctrine-bundle