alikdex / yii2-pages
Pages module. Yii2
Installs: 76
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.6.0
- alikdex/yii2-tinymce-widget: ~1.0
- jbroadway/urlify: ^1.1
- yiisoft/yii2: ~2.0.15
This package is auto-updated.
Last update: 2024-10-16 19:40:03 UTC
README
Yii2 pages module
App configure module
'modules' => [
'pages' => [
'class' => Adx\PagesModule\Module::class,
//'viewPath' => '@app/views/pages',
//'controllerNamespace' => 'Adx\PagesModule\Admin',
],
],
Migrations
config:
'controllerMap' => [
'migrate' => [
'class' => yii\console\controllers\MigrateController::class,
'migrationNamespaces' => [],
'migrationPath' => [
'@vendor/alikdex/yii2-pages/src/Migration',
],
],
],
or composer:
"scripts": {
"post-update-cmd": [
"yes | php yii migrate --migrationPath=@vendor/alikdex/yii2-pages/src/Migration"
],
"post-install-cmd": [
"yes | php yii migrate --migrationPath=@vendor/alikdex/yii2-pages/src/Migration"
]
}