Version

Documentation » Doctrine2 ORM Admin

2. Configuration »

« Doctrine ORM Admin Bundle

1. Installation

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

Note

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-orm-admin-bundle

1.2. Enable the bundle

Next, be sure to enable the bundles in your bundles.php file if they are not already enabled:

// config/bundles.php

return [
    // ...
    Sonata\DoctrineORMAdminBundle\SonataDoctrineORMAdminBundle::class => ['all' => true],
];

Note

Don’t forget that, as part of SonataAdminBundle’s installation instructions, you need to enable additional bundles on bundles.php.

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