Documentation » Propel Admin

2. Propel Admin Class »

« PropelAdmin Bundle

1. Installation

SonataPropelAdminBundle is part of a set of bundles aimed at abstracting storage connectivity for SonataAdminBundle. As such, SonataPropelAdminBundle 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

Use composer:

php composer.phar require sonata-project/propel-admin-bundle

You’ll be asked to type in a version constraint. ‘dev-master’ will usually get you the latest , bleeding edge version. Check packagist for stable and legacy versions:

Please provide a version constraint for the sonata-project/propel-admin-bundle requirement: dev-master

1.2. Enable the bundle

Next, be sure to enable the bundle in your AppKernel.php file:

// app/AppKernel.php
public function registerBundles()
    return array(
        // ...
        // set up basic sonata requirements
        // ...
        new Sonata\PropelAdminBundle\SonataPropelAdminBundle(),
        // ...


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

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