Documentation » MongoDB Admin

2. Configuration »

« Doctrine MongoDB Admin Bundle

1. Installation

SonataDoctrineMongoDBAdminBundle is part of a set of bundles aimed at abstracting storage connectivity for SonataAdminBundle. As such, SonataDoctrineMongoDBAdminBundle depends on SonataAdminBundle, and will not work without it.


These installation instructions are meant to be used only as part of SonataAdminBundle’s installation process, which is documented here.

1.1. Download the Bundle

composer require sonata-project/doctrine-mongodb-admin-bundle

1.2. Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in bundles.php file of your project:

// config/bundles.php

return [
    // ...
    Sonata\DoctrineMongoDBAdminBundle\SonataDoctrineMongoDBAdminBundle::class => ['all' => true],

Found a typo? Something is wrong in this documentation? Just fork and edit it!