alikdex/notes

笔记模块。Yii2

维护者

详细信息

github.com/AlikDex/notes

源代码

问题

安装: 9

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 2

分支: 0

开放问题: 0

类型:yii2-extension

0.0.4 2018-11-04 21:32 UTC

This package is not auto-updated.

Last update: 2024-09-21 17:11:27 UTC


README

Yii2笔记模块

安装


'modules' => [
    'notes' => [
        'class' => Adx\Module\NoteModule\Module::class,
    ],
],

迁移

'controllerMap' => [
    'migrate' => [
        'class' => yii\console\controllers\MigrateController::class,
        'migrationNamespaces' => [],
        'migrationPath' => [
            '@vendor/alikdex/notes/src/Migration',
        ],
    ],
],

或使用composer

"scripts": {
    "post-update-cmd": [
        "yes | php yii migrate --migrationPath=@vendor/alikdex/notes/src/Migration"
    ],
    "post-install-cmd": [
        "yes | php yii migrate --migrationPath=@vendor/alikdex/notes/src/Migration"
    ]
}