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