/yii2-backend-module

Backend module for Yii 2.0 Framework

Primary LanguagePHP

Backend module for Yii 2.0 Framework

Latest Stable Version Total Downloads License

AdminLTE Dashboard

Screenshot

Installation

The preferred way to install this extension is through composer.

composer require dmstr/yii2-backend-module
  • Requires loveorigami/yii2-notification-wrapper

Usage

Add module to application configuration

'backend' => [
    'class' => 'dmstr\modules\backend\Module',
    'layout' => '@backend/views/layouts/main',
],

By adding backendBrowserSupport to your app params you can specify which browser versions are supported in your backend configuration. Examples see at urosg80/yii2-outdatedbrowser-rework

Params

  • context.menuItems menu items to be shown, i.e. used by dmstr/yii2-prototype-module

Settings

from settings module

  • backend.adminlte.skin default black-light
  • backend.adminlte.sidebar default sidebar-mini
  • backend.adminlte.navBarIcon default heart
  • frontend.backendWidget default modal
  • frontend.backendButtonsInModal (experimental)

dmstr logo Built by dmstr