3riangulum / yii-module-container
Yii2 module container
dev-master
2021-11-30 16:09 UTC
Requires
- php: ^7.4
- ext-json: *
- ext-mbstring: *
- ext-pdo: *
- ext-redis: *
- antic-droid/yii2-sortable-grid-view-widget: dev-master
- bookin/yii2-awesome-bootstrap-checkbox: dev-master
- kartik-v/yii2-widget-datepicker: ^1.4@dev
- kartik-v/yii2-widget-datetimepicker: ^1.4@dev
- kartik-v/yii2-widget-growl: ^1.1
- kartik-v/yii2-widget-select2: ^2.2
- kartik-v/yii2-widget-switchinput: ^1.3
- nesbot/carbon: ^2.51
- ramsey/uuid: ^4.0@dev
- rmrevin/yii2-fontawesome: *
- webmozart/assert: 1.10.x-dev
- yiisoft/yii2: ~2.0.4
- yiisoft/yii2-bootstrap: ^2.0
- yiisoft/yii2-redis: ^2.0@dev
This package is auto-updated.
Last update: 2024-10-29 06:06:17 UTC
README
composer require 3riangulum/yii-module-container
Config Example
- backend/config/params.php
$config['params']['App.root'] = ROOT;
'App.UI.sys.template_throwable' => '@backend/views/system/_exception-handler',
'App.UI.sys.template_view' => '@backend/views/system/_view_action',
'App.UI.sys.template_notify' => '@backend/views/system/_notify_action',
'App.UI.sys.template_delete' => '@backend/views/system/_delete_action',
- backend/config/params-local.php
'App.IpWhiteList' => [
'127.0.0.1',
],
- backend/config/main.php
'components' => [
'access' => ['class' => AccessBase::class],
'panelGrid' => [
'class' => PanelGrid::class,
'panelClass' => 'panel-default slim',
'viewBegin' => '@backend/views/panel/_grid_begin',
'viewEnd' => '@backend/views/panel/_grid_end',
],
'panelBase' => [
'class' => PanelBase::class,
'panelClass' => 'panel-default slim',
'viewBegin' => '@backend/views/panel/_popup_begin',
'viewEnd' => '@backend/views/panel/_popup_end',
],
],
'modules' => [
DomainModule::ID => [
'class' => DomainModule::class,
'id' => DomainModule::ID,
'moduleParentNamespace' => 'backend\modules',
],
]