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 using composer is really easy: this command will add "avanzu/admin-theme-bundle": "~1.3"
to your composer.json
and will download the bundle:
php composer.phar require avanzu/admin-theme-bundle
Notice: if you prefer to stay with the AdminLTE theme v1.x, manually reference "avanzu/admin-theme-bundle": "~1.1"
in composer.json "require"
part and run php composer.phar update
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)...
php app/console assets:install --symlink
... and fetch vendors:
php app/console avanzu:admin:fetch-vendor
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.