dyar74 / yii2-admin
Admin
Installs: 58
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- bupy7/yii2-pages: *
- codezeen/yii2-adminlte: *
- cornernote/yii2-menu: *
- dektrium/yii2-user: *
- developeruz/yii2-db-rbac: *
- funson86/yii2-setting: *
- lajax/yii2-language-picker: *
- lajax/yii2-translate-manager: *
- wolfguard/yii2-block: *
- wolfguard/yii2-gallery: *
- wolfguard/yii2-video-gallery: *
- yiisoft/yii2: *
- zelenin/yii2-slug-behavior: ~1.0@stable
This package is not auto-updated.
Last update: 2025-01-18 20:08:40 UTC
README
Admin / basic template based on: dektrium\yii2-user developeruz\yii2-db-rbac lajax\yii2-translate-manager lajax\yii2-language-picker codezeen\yii2-adminlte
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist dyar74/yii2-admin "*"
or add
to the require section of your `composer.json` file.
"dyar74/yii2-admin": "*"
add migrations: php yii migrate/up --migrationPath=@vendor/dyar74/yii2-admin/migrations
default user: admin password: admin12345
Usage
add to config web.php:
'bootstrap' => ['admin'], 'language' => 'uk-UA', // you default language 'modules' => [ 'admin' => [ 'class' => 'dyar74\admin\AdminModule', 'userItems' => ['label' => Yii::t('admin', 'User Block Extensions'), 'options' => ['class' => 'treeview'], 'items' => [ [ 'label' => Yii::t('admin', 'Ext1'), 'url' => ['#']], [ 'label' => Yii::t('admin', 'Ext2'), 'url' => ['#']], [ 'label' => Yii::t('admin', 'Ext3'), 'url' => ['#']], ] ], //if you have add items to admin menu ],.. ] Change return to(see you path to vendor): return array_merge_recursive($config, require('../vendor/dyar74/yii2-admin/config/admin.php'));