PHP code example of avanzu / admin-theme-bundle

1. Go to this page and download the library: Download avanzu/admin-theme-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/ */

    

avanzu / admin-theme-bundle example snippets



// app/AppKernel.php

public function registerBundles()
{
	$bundles = array(
		// ...
		new Avanzu\AdminThemeBundle\AvanzuAdminThemeBundle(),
	);
}


// app/AppKernel.php

public function registerBundles()
{
	$bundles = array(
		// ...
		new Symfony\Bundle\AsseticBundle\AsseticBundle(),
	);
}
bash
   php composer.phar avanzu/admin-theme-bundle dev-master
bash
php bin/console avanzu:admin:initialize
bash
	php app/console assets:install --symlink
bash
	php bin/console assets:install --symlink
bash
	php bin/console avanzu:admin:fetch-vendor