PHP code example of meuhmeuhconcept / sonata-admin-bundle
1. Go to this page and download the library: Download meuhmeuhconcept/sonata-admin-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
meuhmeuhconcept / sonata-admin-bundle example snippets
public function registerBundles()
{
$bundles = [
// ...
new MMC\SonataAdminBundle\MMCSonataAdminBundle(),
// These are the other bundles the SonataAdminBundle relies on
new Sonata\CoreBundle\SonataCoreBundle(),
new Sonata\BlockBundle\SonataBlockBundle(),
new Knp\Bundle\MenuBundle\KnpMenuBundle(),
// And finally, the storage and SonataAdminBundle
new Sonata\DoctrineORMAdminBundle\SonataDoctrineORMAdminBundle(),
new Sonata\AdminBundle\SonataAdminBundle(),
// ...
];
// ...
}