Skip to content

dmitxe/yii2-wiki-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii2-wiki

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' 
	],
],

//...

About

Simple Wiki for Yii2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages