PHP code example of caxy / easy-sonata-admin
1. Go to this page and download the library: Download caxy/easy-sonata-admin 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/ */
caxy / easy-sonata-admin example snippets
bash
// app/AppKernal.php
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
//Load before SonataAdminBundle!
new Caxy\EasySonataAdminBundle\EasySonataAdminBundle(),
new Sonata\AdminBundle\SonataAdminBundle(),
);
}
}