2017 © Pedro Peláez
 

library admin-theme-bundle

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

image

fr05t1k/admin-theme-bundle

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

  • Thursday, December 15, 2016
  • by Fr05t1k
  • Repository
  • 2 Watchers
  • 2 Stars
  • 32 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 162 Forks
  • 0 Open issues
  • 23 Versions
  • 0 % Grown

The README.md

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., (*1)

Installation

Installation using composer is really easy: this command will add "avanzu/admin-theme-bundle": "~2.0" to your composer.json and will download the bundle:, (*2)

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

Enable the bundle in your kernel:, (*3)

    <?php
    // app/AppKernel.php

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

Install assets (preferably using symlink method but hardcopy works as well)..., (*4)

php bin/console assets:install --symlink

Initialize the theme, (*5)

php bin/console avanzu:admin:initialize [--symlink|--relative]

initializing will create several symlinks (falling back to hard copy) into the web/theme folder from the required almasaeed2010/adminlte package:, (*6)

  • bootstrap
  • dist
  • plugins
  • documentation
  • starter.html

Configure

Although the bundle should run with zero configruration, there are several settings you might want to adjust to your taste or requirements. Please keep in mind that you don't have to put the whole config block into your configuration but rather the ones you want to change from the defaults., (*7)

These are the configuration default values:, (*8)

# config.yml

avanzu_admin_theme:
    use_twig   : true
    enable_demo: false
    theme:
        default_avatar   : bundles/avanzuadmintheme/img/avatar.png  

        skin             : skin-blue  # see skin listing for viable options
        fixed_layout     : false      # -------------------------------------------------------
        boxed_layout     : false      # these settings relate directly to the "Layout Options"
        collapsed_sidebar: false      # described in the adminlte documentation
        mini_sidebar     : false      # -------------------------------------------------------
        control_sidebar  : false      # controls wether the right hand panel will be rendered  

    knp_menu:                         # knp menu integration     
        enable         : true          
        main_menu      : avanzu_main  # the menu builder alias to use for the main menu
        breadcrumb_menu: false        # the menu builder alias to use for the breacrumbs

AdminLTE skins are:

  • skin-blue (default for this bundle)
  • skin-blue-light
  • skin-yellow
  • skin-yellow-light
  • skin-green
  • skin-green-light
  • skin-purple
  • skin-purple-light
  • skin-red
  • skin-red-light
  • skin-black
  • skin-black-light

If you want to know more then go ahead and check docs for AdminLTE here., (*9)

Demo-Mode

In order to se a working implementation of the several components, you can enable the demo mode:, (*10)

```yaml # config.yml avanzu_admin_theme: enable_demo: true, (*11)

and add the routes to your routing configuration: 

```yaml
# routing.yml
avanzu_admin:
    prefix: /admin
    resource: "@AvanzuAdminThemeBundle/Resources/config/routes.yml"

Upgrade notice

Version >= 2.0

This version is not fully backwards compatible regarding the templates and assets., (*12)

  • does no longer rely on any external build tools or package managers (except composer of course). In consequence, there are no pre packaged scripts/styles or asset groups available. If you want to use script and/or stylesheet packing, you will most likely already have the tools of your choice in place and are now able to use them as fits best for your needs.
  • Introduces route name aliases for url generation inside the components.

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

The Versions

15/12 2016

dev-feature/2.0

dev-feature/2.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

15/12 2016

2.0.0-beta.6

2.0.0.0-beta6

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

  Sources   Download

MIT

The Requires

 

The Development Requires

23/07 2016

2.0.0-beta.5

2.0.0.0-beta5

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

  Sources   Download

MIT

The Requires

 

The Development Requires

23/07 2016

2.0.0-beta.4

2.0.0.0-beta4

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

  Sources   Download

MIT

The Requires

 

The Development Requires

13/07 2016

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

The Development Requires

13/07 2016

dev-extended_nav_user

dev-extended_nav_user

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

  Sources   Download

MIT

The Requires

 

The Development Requires

13/07 2016

dev-package

dev-package

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

  Sources   Download

MIT

The Requires

 

The Development Requires

18/06 2016

2.0.0-beta.3

2.0.0.0-beta3

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

  Sources   Download

MIT

The Requires

 

The Development Requires

16/06 2016

dev-develop

dev-develop

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

  Sources   Download

MIT

The Requires

 

The Development Requires

16/06 2016

2.0.0-beta.2

2.0.0.0-beta2

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

  Sources   Download

MIT

The Requires

 

The Development Requires

30/12 2015

2.0.0-beta.1

2.0.0.0-beta1

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

  Sources   Download

MIT

The Requires

 

The Development Requires

30/12 2015
14/12 2015
19/09 2015
29/08 2015
21/03 2015
06/03 2015
27/10 2014
27/09 2014
27/09 2014
07/08 2014
07/08 2014
07/08 2014