moo / flashcardadmin-bundle
Symfony bundle that provides admin classes that be used with SonataAdminBundle.
Installs: 28
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
- symfony/framework-bundle: ~2.0
This package is auto-updated.
Last update: 2021-11-12 12:40:46 UTC
README
The FlashCardAdminBundle is a Symfony2 bundle that provides admin classes that be used with SonataAdminBundle.
Features
Version 1.0.0
- 2 admin classes one for managing cards, and the other one for managing card categories.
License
This bundle is under the MIT license. View the LICENSE.md 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.
imports: # .... - { resource: "@MooFlashCardAdminBundle/Resources/config/admin.yml" }
3. Enable the bundle in your application kernel.
<?php // 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
DONE!
- You can access the homepage of the bundle from
http://yoursite.com/app_dev.php/admin