dmitxe / yii2-wiki-module
Yii2-Wiki is a flexible implementation of a wiki for Yii2
Installs: 589
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.4.0
- erusev/parsedown: dev-master
- yii2mod/yii2-markdown: *
- yiisoft/yii2: 2.0.*
- yiisoft/yii2-bootstrap: *
- yiisoft/yii2-codeception: ~2.0.0
This package is auto-updated.
Last update: 2025-03-10 07:29:34 UTC
README
Yii2-Wiki is a flexible implementation of a wiki for Yii2
Installation
The preferred way to install this extension is through composer.
Either run
$ composer require dmitxe/yii2-wiki-module
or add
"dmitxe/yii2-wiki-module": "dev-master"
to the require
section of your composer.json
file.
Configuration
Migration
For the default table structure execute the provided migration as follows:
php yii migrate --migrationPath=@vendor/dmitxe/yii2-wiki-module/migrations
To remove the table just do the same migration downwards.
Configuring the module
add the following entry to the modules-part of your config-file:
//... 'modules'=>[ 'wiki'=>[ 'class'=>'dmitxe\yii2\wiki\Module', 'editorRole'=>'administrator' // set false for quests 'editorLayout' => '//main' ], ], //...