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