PHPackages                             rsemenyshyn/yii2-wiki - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. rsemenyshyn/yii2-wiki

ActiveYii2-extension

rsemenyshyn/yii2-wiki
=====================

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

026PHP

Since May 23Pushed 3y agoCompare

[ Source](https://github.com/rsemenyshyn/yii2-wiki)[ Packagist](https://packagist.org/packages/rsemenyshyn/yii2-wiki)[ RSS](/packages/rsemenyshyn-yii2-wiki/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-wiki
=========

[](#yii2-wiki)

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

- can implement own layout
- can use rules for access control
- doesn't use DB, saves everything in files

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
$ composer require rsemenyshyn/yii2-wiki
```

or add

```
"rsemenyshyn/yii2-wiki": "dev-master"

```

to the `require` section of your `composer.json` file.

Configuration
-------------

[](#configuration)

###### Migration

[](#migration)

For the default table structure execute the provided migration as follows:

```
yii migrate --migrationPath=@vendor/d4yii2/yii2-wiki/migrations

```

To remove the table just do the same migration downwards.

###### Configuring the module

[](#configuring-the-module)

add the following entry to the modules-part of your config-file:

```
//...

'modules'=>[
	'wiki'=>[
		'class'=>'d4yii2\yii2\wiki\Module',
		'processContentCallback'=>function($content) {
			//example if you want to use markdown in your wiki
			return Parsedown::instance()->parse($content);
		},
		//example for implementing other layout
        'layout' =>  '@layout',
        'viewMap' => [
            'admin'=>'@vendor/ea/eablankonthema/wiki_views/content/admin',
            'view'=>'@vendor/ea/eablankonthema/wiki_views/content/view',
            'create'=>'@vendor/ea/eablankonthema/wiki_views/content/create',
            'update'=>'@vendor/ea/eablankonthema/wiki_views/content/update',
        ],

        'rolesCanEdit' => ['WikiEdit'],
        'rolesCanView' => ['@']
	],
],

//...
```

For a full list of possible options check out the well documented attributes of the module-class.

###### Bootstrapping the module

[](#bootstrapping-the-module)

This step is only necessary if you want to use the deafault url-rules provided by the module.
If you want to use this feature, add the module-id to the bootstrap-array of your config file:

```
//...

'bootstrap'=>['log', 'wiki'],

//...
```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ccf8599aff30a03907b9a592f280de942df37c2d9e43c85fab971b2497ea789?d=identicon)[rsemenyshyn](/maintainers/rsemenyshyn)

---

Top Contributors

[![uldisn](https://avatars.githubusercontent.com/u/3525344?v=4)](https://github.com/uldisn "uldisn (14 commits)")[![rsemenyshyn](https://avatars.githubusercontent.com/u/5583070?v=4)](https://github.com/rsemenyshyn "rsemenyshyn (11 commits)")[![VairisO](https://avatars.githubusercontent.com/u/9198246?v=4)](https://github.com/VairisO "VairisO (5 commits)")[![pasci84](https://avatars.githubusercontent.com/u/6659672?v=4)](https://github.com/pasci84 "pasci84 (2 commits)")

### Embed Badge

![Health badge](/badges/rsemenyshyn-yii2-wiki/health.svg)

```
[![Health](https://phpackages.com/badges/rsemenyshyn-yii2-wiki/health.svg)](https://phpackages.com/packages/rsemenyshyn-yii2-wiki)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
