dmstr/yii2-backend-module

Admin Dashboard

Installs: 61 212

Dependents: 3

Suggesters: 0

Security: 0

Stars: 19

Watchers: 8

Forks: 8

Open Issues: 0

Type:yii2-extension

2.2.9 2024-06-25 08:02 UTC

README

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',
],

Minimalistic Login view from AdminLTE 2

'modules' => [
    'user' => [
        'controllerMap' => [
            'security' => [
                'class' => Da\User\Controller\SecurityController::class,
                'layout' => '@backend/views/layouts/login'
            ],
            'recovery' => [
                'class' => Da\User\Controller\RecoveryController::class,
                'layout' => '@backend/views/layouts/login'
            ],
            'registration' => [
                'class' => Da\User\Controller\RegistrationController::class,
                'layout' => '@backend/views/layouts/login'
            ]
        ]
    ]
]

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