Skip to content

Admin Theme based on the AdminLTE Template for easy integration into symfony

Notifications You must be signed in to change notification settings

ThatCheck/AdminThemeBundle

 
 

Repository files navigation

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.2"
		}
	}

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.2"

tell composer to download the bundle

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

Enable the bundle in your kernel:

	<?php
	// app/AppKernel.php

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

Configure bower path if neccessary (default value is /usr/local/bin/bower)

	#app/config/config.yml

	avanzu_admin_theme:
    	bower_bin: /usr/local/bin/bower # that's the default value

Fetch vendor scripts

app/console avanzu:admin:fetch-vendor

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

app/console assets:install --symlink

Next Steps

About

Admin Theme based on the AdminLTE Template for easy integration into symfony

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 88.1%
  • JavaScript 11.3%
  • Other 0.6%