Symfony bundle that provides admin classes that be used with SonataAdminBundle.

v1.0.3 2015-08-31 12:13 UTC


SensioLabsInsight Scrutinizer Code Quality

The FlashCardAdminBundle is a Symfony2 bundle that provides admin classes that be used with SonataAdminBundle.


Version 1.0.0

  • 2 admin classes one for managing cards, and the other one for managing card categories.


This bundle is under the MIT license. View the file for the full copyright and license information.

Installation (5 steps)

Assuming that you have SonataAdminBundle installed and configured.

1. Download FlashCardAdminBundle with composer.

Add the following to your composer.json:

    "require": {
        "moo/flashcardadmin-bundle": "*"

Install the bundle by executing the following command:

$ php composer.phar update moo/flashcardadmin-bundle

2. Add the bundle configurations.

Open your application base configuration file app/config/config.yml and add the following to the imports section.

    # ....
    - { resource: "@MooFlashCardAdminBundle/Resources/config/admin.yml" }

3. Enable the bundle in your application kernel.

// app/AppKernel.php

public function registerBundles()
    $bundles = array(
        // ...
        new Moo\FlashCardAdminBundle\MooFlashCardAdminBundle(),

4. (optional) Install CRUD ACL rules for the Admin classes.

$ php app/console sonata:admin:setup-acl

You can read more about ACL in SonataAdmin (here).

5. Publish bundle assets for Development and Production environments.

$ php app/console assets:install web --symlink
$ php app/console assetic:dump


  • You can access the homepage of the bundle from