2017 © Pedro Peláez
 

package yii2-module-admin

Admin module with AdminLTE template for the Yii2 Framework

image

diezz/yii2-module-admin

Admin module with AdminLTE template for the Yii2 Framework

  • Monday, December 4, 2017
  • by diezz
  • Repository
  • 1 Watchers
  • 0 Stars
  • 198 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 11 Versions
  • 40 % Grown

The README.md

Yii2 Admin Module

Installation

composer require "diezz/yii2-module-admin", (*1)

Basic Configuration

Once the extension is installed, simply modify your application configuration as follows:, (*2)

return [
   'modules' => [
       'admin' => [
           'class'         => 'Diezz\ModuleAdmin\Module',
           // Place your views in this directory
           'viewPath'      => '@app/views/admin',
           'controllerMap' => [
               'first'  => 'app\controllers\FirstController',
               'second' => 'app\controllers\SecondController',
           ],
           'view'          => [
               'class'             => AdminView::class,
               'skin'              => AdminView::SKIN_RED,
               // You may specify an extra assets
               'extraAssets'       => [
                    // Like class name:
                    ExtraAsset::class,
                    // Or like config aray:
                    [
                        'class' => AnotherAsset::class,
                    ],
               ],
               // Menu config
               'sidebarMenuConfig' => [
                   'menuItems' => [
                       [
                           'title' => 'First menu item',
                           'icon'  => 'fa fa-envelope',
                           'url'   => '/admin/first',
                       ],
                       [
                           'title'    => 'Second menu item',
                           'icon'     => 'fa fa-envelope',
                           'url'      => '/admin/second',
                           'children' => [
                               [
                                   'title' => 'First sub-menu item',
                                   'icon'  => 'fa fa-circle',
                                   'url'   => '/admin/second/first',
                               ],
                               [
                                   'title' => 'Second sub-menu item',
                                   'icon'  => 'fa fa-circle',
                                   'url'   => '/admin/second/second',
                               ],
                           ],
                       ],
                   ],
               ],
           ],
       ],
   ],
];

All of your admin controllers must extend Diezz\ModuleAdmin\Controllers\AdminController, (*3)

The Versions

04/12 2017

dev-master

9999999-dev

Admin module with AdminLTE template for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

by Stanislav Shadskiy

04/12 2017

0.4.5

0.4.5.0

Admin module with AdminLTE template for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

by Stanislav Shadskiy

22/11 2017

0.4.4

0.4.4.0

Admin module with AdminLTE template for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

by Stanislav Shadskiy

21/11 2017

0.4.3

0.4.3.0

Admin module with AdminLTE template for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

by Stanislav Shadskiy

02/10 2017

0.4.2

0.4.2.0

Admin module with AdminLTE template for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

by Stanislav Shadskiy

10/08 2017

0.4

0.4.0.0

Admin module with AdminLTE template for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

by Stanislav Shadskiy

10/08 2017

0.4.1

0.4.1.0

Admin module with AdminLTE template for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

by Stanislav Shadskiy

13/03 2017

0.3

0.3.0.0

Admin module with AdminLTE template for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

by Stanislav Shadskiy

19/02 2017

0.2

0.2.0.0

Admin module with AdminLTE template for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

by Stanislav Shadskiy

19/02 2017

0.1.2

0.1.2.0

Admin module with AdminLTE template for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

by Stanislav Shadskiy

18/02 2017

0.1.1

0.1.1.0

Admin module with AdminLTE template for the Yii2 Framework

  Sources   Download

MIT

The Requires

 

by Stanislav Shadskiy