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