Download the PHP package concepture/yii2-account-module without Composer
On this page you can find all versions of the php package concepture/yii2-account-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download concepture/yii2-account-module
More information about concepture/yii2-account-module
Files in concepture/yii2-account-module
Download concepture/yii2-account-module
More information about concepture/yii2-account-module
Files in concepture/yii2-account-module
Vendor concepture
Package yii2-account-module
Short Description package under development
License BSD-3-Clause
Package yii2-account-module
Short Description package under development
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package yii2-account-module
concepture-yii2account-module
Подключение
"require": { "concepture/yii2-blog" : "*" },
Миграции php yii migrate/up --migrationPath=@concepture/yii2account/console/migrations --interactive=0
Подключение модуля для админки
'modules' => [
'article' => [
'class' => 'concepture\yii2account\Module'
],
],
Для переопределния контроллера добавялем в настройки модуля
'modules' => [
'article' => [
'class' => 'concepture\yii2account\Module',
'controllerMap' => [
'post' => 'backend\controllers\PostController'
],
],
],
Для переопределния папки с представленяими добавялем в настройки модуля
'modules' => [
'article' => [
'class' => 'concepture\yii2account\Module',
'viewPath' => '@backend/views'
],
],
Для переопределния любого класса можно вооспользоваться инекцией зависимостей через config.php К примеру подменить модель StaticBlock на свой
<?php
return [
'container' => [
'definitions' => [
'concepture\yii2account\models\StaticBlock' => ['class' => 'backend\models\StaticBlock'],
],
],
]
All versions of yii2-account-module with dependencies
PHP Build Version
Package Version
The package concepture/yii2-account-module contains the following files
Loading the files please wait ....