dmitxe/yii2-wiki-module

Yii2-Wiki is a flexible implementation of a wiki for Yii2

Installs: 571

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

1.0 2018-11-09 08:41 UTC

This package is auto-updated.

Last update: 2024-04-10 05:38:22 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' 
	],
],

//...