Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 1.78 KB

README.md

File metadata and controls

59 lines (45 loc) · 1.78 KB

AdminThemeBundle

Admin Theme based on the AdminLTE Template for easy integration into symfony. This bundle integrates several commonly used javascripts and the awesome AdminLTE Template.

Installation

Add AdminThemeBundle to composer.json

	{
		"require": {
			"avanzu/admin-theme-bundle": "~1.3"
		}
	}

notice: if you prefer to stay with the adminLTE theme v1.x use "avanzu/admin-theme-bundle": "~1.1" instead of "avanzu/admin-theme-bundle": "~1.3"

tell composer to download the bundle

php composer.phar require avanzu/admin-theme-bundle

Enable the bundle in your kernel:

	<?php
	// app/AppKernel.php

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

install assets (preferably using symlink method but hardcopy works as well)

app/console assets:install --symlink

fetch vendors:

 app/console avanzu:admin:fetch-vendor

Upgrade notice

Version >= 1.3 comes with pre packaged asset files located under Resources/public/static/[prod|dev]. So, there is no longer a strict requirement for bower and/or assetic. The assetic groups hovever, are still there and should work as usual.

Next Steps